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

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.
 

Detailed Description

Far ocean island vertex shader.

Member Function Documentation

◆ main()

void GPUShaders::Vert::Far_ocean_island::main ( )
inline

Project the cylinder geoemtry onto the far plane of the scene, centered on the camera.


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