Skip to content

Procedural Terrain Generation using Marching cube and Unity's job system

Notifications You must be signed in to change notification settings

Daxxas/Exploject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exploject

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)

  1. Generate marching cube data Assets/Scripts/Generation/Terrain/Jobs/MarchCubeJob.cs (Go to file)

  2. Find the biomes Assets/Scripts/Generation/Terrain/Jobs/FindVertexColorJob.cs (Go to file)

  3. 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:

Exploject.test.1.mp4

About

Procedural Terrain Generation using Marching cube and Unity's job system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published