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

Shadow island fragment shader. More...

Public Member Functions

uniform uniform uniform void main ()
 

Public Attributes

in vec2 uv
 UV coordinates.
 
uniform vec3 lDir
 Light direction.
 
uniform uint stepCount
 Raymarching step count.
 
uniform float texelSize
 Size of a texel in world space.
 
uniform uniform out vec2 shadow
 Shadowing factors.
 

Detailed Description

Shadow island fragment shader.

See also
GPUShaders::Common::Samplers

Member Function Documentation

◆ main()

uniform uniform uniform void GPUShaders::Frag::Shadow_island::main ( )
inline

Ray-march against the height map to determine shadows at sea and ground level.


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