Terrain Material Tutorial in Unity using Shader Graph




Video Link


This is just a single shader? Are you using a height map on a landscape to achieve this?
It looks good!


Yes one shader, I didn’t use a height map, I created the terrain using a plugin in blender and then the shader in unity checks for the height of the vertices and if it is below the property value then keep it at that value and use the waves normal map instead of the mesh normal map and set its smoothness to 1


Ah ok, cool, and are you using the world space 0 as the property value? Or is it something else?


it is a property that the user can change in the material which will result in the water going higher or lower