advanced_erosion_terrain_heightmap_generation

A standalone Rust terrain generator using egui, inspired by Runevision's fast erosion filter and the reference material in plan/.

See here:

https://www.shadertoy.com/view/wXcfWn https://www.shadertoy.com/view/sf23W1 https://blog.runevision.com/2026/03/fast-and-gorgeous-erosion-filter.html

Project layout

  • src/ contains the standalone Rust app and generator implementation.
  • tests/erosion_prototype.py is the Python reference prototype used to guide the Rust port.
  • plan/ contains the inspiration and reference documents for the terrain look.

Running

cargo run

Current UI

The app uses an egui desktop interface with:

  • A left control panel with Generation and Advanced tabs
  • Generation controls for image width, image height, generation scale, erosion scale, and random seed
  • Advanced controls for strength, gully weight, detail, and octaves
  • A right preview area showing both the normalized heightmap and the shaded bumpmap
S
Description
No description provided
Readme MPL-2.0
197 KiB
Languages
Rust 100%