Rare find

Hydraulic Erosion. Makes computer-generated terrain look naturally worn and weathered.

youtube.com/watch?v=eaXk97ujbPQ

Vaya's read on this project

Problem, audience, market, and the verdict — sign in to see it.

Updates

January 2024
  • Small cleanup and fixes
  • Upgrade to Unity 2021.3
August 2019
  • Update README.md
March 2019
  • Converted erosion and heightmap to compute shaders
  • Update README.md
  • Increased mesh vertex limit
  • Fixed brush out of bounds error when changing map size
  • Removed unnecessary files
  • Merge pull request #2 from SebLague/add-license-1
  • Create LICENSE
February 2019
  • Create README.md
  • Fixed NaN error on flat terrain
  • Improved perf by removing all vecs in erosion
  • Small lighting change
  • Added blend option to grass in terrain shader
  • Shader with grass and rock colour based on flatness
  • Converted more vectors to int/float
  • Decent speedup in CalculateHeightAndGradient() using ints/floats inst…
  • Slight speedup using int instead of vector2int for brush index
  • Precomputing brush indices: ~350ms init, ~150ms for test run