Rendu
A lightweight rendering engine for experimentations
|
Far ocean island vertex shader. More...
Public Member Functions | |
void | main () |
Public Attributes | |
in vec3 | v |
Position. | |
uniform mat4 | mvp |
Transformation matrix. | |
uniform vec3 | camPos |
Camera world position. | |
out vec3 | oPos |
World position. | |
out vec3 | oSrcPos |
World position before waves perturbation. | |
out vec3 | oPrevPos |
World position before small scale waves perturbation. | |
Far ocean island vertex shader.
|
inline |
Project the cylinder geoemtry onto the far plane of the scene, centered on the camera.