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

Ground island vertex shader. More...

Public Member Functions

void main ()
 

Public Attributes

in vec3 v
 Position.
 
uniform mat4 mvp
 MVP transformation matrix.
 
uniform vec3 shift
 Terrain shift in world space.
 
uniform float texelSize
 Height map texel world size.
 
uniform float invMapSize
 Height map inverse size.
 
uniform float invGridSize
 Grid mesh inverse size.
 
uniform uniform out vec4 pos
 World position.
 
uniform out vec2 uv
 Texture coordinates.
 

Detailed Description

Ground island vertex shader.

See also
GPUShaders::Common::Samplers

Member Function Documentation

◆ main()

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

Apply the transformation to the input vertex. Compute the tangent-to-view space transformation matrix.


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