Exploject is a prototype for procedural terrain generation All the terrain generated is fully procedural in 3D (allowing to have caves and overhangs), with collisions and is done in realtime with marching cube and Unity's job system
The core generation of a chunk is done in 3 step here: Assets/Scripts/Generation/Terrain/TerrainChunk.cs
(Go to function)
-
Generate marching cube data
Assets/Scripts/Generation/Terrain/Jobs/MarchCubeJob.cs
(Go to file) -
Find the biomes
Assets/Scripts/Generation/Terrain/Jobs/FindVertexColorJob.cs
(Go to file) -
Generate the chunk mesh
Assets/Scripts/Generation/Terrain/Jobs/ChunkMeshJob.cs
(Go to file)
The endless terrain is done here (Go to file)
Preview of the project: