Making Minecraft Spherical
13 days ago
- #unity
- #voxel
- #procedural-generation
- Blocky Planet is a Unity tech demo featuring a spherical, destructible voxel planet with over 20 block types.
- The project addresses unique challenges in mapping cubic voxels to a sphere, including gravity alignment and distortion.
- A quad sphere approach is used to minimize distortion, dividing the planet into six sectors for better mapping.
- Depth distortion is managed by grouping blocks into shells, increasing block count per layer outward to maintain size consistency.
- The planet's structure is divided into sectors, shells, and chunks for efficient processing and rendering.
- Player gravity is customized to pull towards the planet's center, adjusting strength based on distance.
- Terrain generation uses 3D noise for seamless spherical mapping, with simple biome differentiation (forest and arctic).
- Block structures can be placed dynamically, though challenges arise at sector corners and shell boundaries.
- Future improvements may include multiple planets, dynamic gravity, cave generation, and voxel-based lighting.