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

Light shadow variance fragment shader. More...

Public Member Functions

void main ()
 

Public Attributes

in vec2 uv
 UV coordinates.
 
uniform uniform bool hasMask
 Should the object alpha mask be applied.
 
out vec2 fragColor
 Depth and depth squared.
 

Detailed Description

Light shadow variance fragment shader.

See also
GPUShaders::Common::Samplers

Member Function Documentation

◆ main()

void GPUShaders::Frag::Light_shadow_variance::main ( )
inline

Output the final depth of the fragment and its square, for variance shadow mapping.


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