Hydrology simulation in Bevy based on this blog post.
It simulates particles falling on the terrain, which descend down the slope. The particles affect the terrain by erosion and sedimentation.
Note
The erosion and sedimentation is (contrary to the original article) fully simulated in a compute shader.
To quickly run it to see how it works, clone this repo and run cargo run --release
:
git clone git@github.com:evroon/bevy-hydrology.git
cd bevy-hydrology
cargo run --release