Home

Awesome

Procedural Stochastic Terrain Shader

A simple procedural terrain shadergraph for Unity's inbuilt terrain system

Get it here: https://github.com/michael-evan-allison/Procedural-Stochastic-Terrain-Shader

Tested In: Unity URP 2022.2.2f1, Unity URP 2022.2.9f1

Version History

Features

Distance Desert_Distance

Detail Desert_Detail

Distance Grasslands_Distance

Detail Grasslands_Detail

Distance Ice_Distance

Detail Ice_Detail

Stochastic Off StochasticOff

Stochastic On StochasticOn

Inspector

How To Use

  1. Add the shader and sub-shaders to your project
  2. Create a new terrain
  3. Create a material
  4. Set material shader to Terrain Shadergraph (Shader Graphs -> Terrrain Shadergraph)
  5. Add the material to the terrain settings in the inspector
  6. Add your textures in the material inspector

Some Hints and Tips

I have included a bunch of examples in the 'Examples' folder. This folder is not essential and can be deleted.

Credits

Licensed under Apache 2.0