Terrain Material Tutorial in Unity using Shader Graph

com-optimize%20(2)

Video Link

3 Likes

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

1 Like

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

1 Like

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

1 Like

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

1 Like