Rendu
A lightweight rendering engine for experimentations
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
GPUShaders::TessEval::Ocean_island Class Reference

Ocean island tesselation evaluation shader. More...

Public Member Functions

void main ()
 

Public Attributes

 in
 Output quads with smooth transitions.
 
uniform mat4 mvp
 Transformation matrix.
 
uniform float time
 Elapsed time.
 
uniform Wave waves [8]
 Waves parameters. More...
 
in vec3 iPos []
 World position.
 
out vec3 oPos
 World space position.
 
out vec3 oSrcPos
 World space position before waves perturbation.
 
out vec3 oPrevPos
 World space position before small scale waves perturbation.
 

Detailed Description

Ocean island tesselation evaluation shader.

See also
GPUShaders::Common::Gerstner_waves

Member Function Documentation

◆ main()

void GPUShaders::TessEval::Ocean_island::main ( )
inline

Apply Gerstner waves pertubrations to ocean plane.

Member Data Documentation

◆ waves

uniform Wave GPUShaders::TessEval::Ocean_island::waves[8]

Waves parameters.

Gerstner waves parameters buffer.


The documentation for this class was generated from the following file: