|
Rendu
A lightweight rendering engine for experimentations
|
Ocean island vertex shader. More...
Public Member Functions | |
| void | main () |
Public Attributes | |
| in vec3 | v |
| Position. | |
| uniform vec3 | shift |
| Grid shift. | |
| out vec3 | outPos |
| World position. | |
Ocean island vertex shader.
|
inline |
Apply the transformation to the input vertex. Compute the tangent-to-view space transformation matrix.