Skip to content

MichaelEGA/SuperSimpleTerrainShader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

SuperSimpleTerrainShader

A super simple terrain shadergraph for unity's terrain system

Terrain01

Terrain02

Terrain03

Features:

  • Made to be used with the unity terrain system.
  • Blends by height and angle to make a natural looking terrain
  • Six layers: Water, Sand, Grass, Rock, Snow, Cliffs
  • Includes normal map slots to make a realistic looking terrain
  • Includes metallic and smoothness settings for each different layer
  • Cliffs use a triplanar node to prevent texture warping
  • Made using only Unity's default nodes, nothing fancy, it just works.

How to use:

  1. Make a material with the shader
  2. Place the material into the material slot in your terrain's settings
  3. The height value is determined by the height of your terrain in the terrain settings i.e. if your terrain is 5000 units high you would set the values to something like water 500, sand 1000, grass 2000, rock 3000, snow 4000, etc

Note: Because the cliffs use a triplanar node the scale value is reversered so intead of using a value like 10 you'll use a value like 0.01

Credits

About

A super simple terrain shadergraph for unity's terrain system

Resources

License

Stars

Watchers

Forks

Packages

No packages published