Skip to content

GuilBlack/Erosion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grid-Based Hydraulic Erosion Simulation Unity

This is a prototype Unity implementation of a grid-based hydraulic erosion simulation. It is based on the paper Fast Hydraulic and Thermal Erosion on the GPU by Balázs Jako and László Szirmay-Kalos as will as Fast Hydraulic Erosion Simulation and Visualization on GPU by Xing Mei, Jianwei Guo, and Xinguo Liu.

Features

  • Create initial terrain with Fractal Browian Motion on a compute shader.
  • Simulate hydraulic erosion on a compute shader separated in multiple kernels following mainly the second paper mentionned.
  • Runs in real time.

To Do

  • Correct some instabilities in the simulation.
  • Add thermal erosion.

Images

Initial Terrain During The Simulation After The Simulation
Initial Terrain Eroded Terrain Eroded Terrain

Demo

The demo scene is available in the Assets/Scenes/ErosionV2.unity file. The other scene is pretty much deprecated.

About

Grid-based erosion simulation made with compute shaders in Unity

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors