This vertex shader modies the height of vertices using a sinusoidal function. The vertex normals are calculated using the differentials of the height function.
This vertex only ripples the water, the reflection is a combination of another shader.
The wave's speed and height are parameters.
With a more high poly water plane the shader looks better, altough in the video looks great, its because is very blurred :D. Also, the water texture is great.
The engine is Virtools using HLSL.
Link to this comment:
All Comments (1)