Skip to content

Procedural terrain generation in Unity and simulating Hydraulic erosion on surface.

Notifications You must be signed in to change notification settings

10Kaiser10/hydraulic-erosion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hydraulic Erosion on Procedurally Generated Terrain

Procedural Terrain Generation in Unity. Simulating erosion due to water to make the terrain look more natural. Using compute shader to run the simulation on GPU for faster simulation speed (Simulating a million water drops in 10 seconds).

  • Generating Height Map image using perlin noise. Using a compute shader to run the code on GPU.
  • Applying hydraulic erosion on the height map. Using compute shader to simulate 1,000,000 drops in parallel on GPU.
  • Using the eroded heightmap to generate the mesh.
  • Generating textures based on the slope of the terrain and applying it on the mesh.

Final Output:

About

Procedural terrain generation in Unity and simulating Hydraulic erosion on surface.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages