Support Forum       G3D Web Page     
Public Member Functions | List of all members
glsl::depthPeel_glsl Class Reference

Shader program. More...

Public Member Functions

bool isDepthPeeled (in sampler2D prevDepthBuffer, in vec2 currentToPrevScale, in float minZGap, in vec3 fragCoord, in vec3 clipInfo)
 Returns true if the current Z value is less than minZGap in back of the old Z value. More...
 

Detailed Description

Shader program.

Member Function Documentation

◆ isDepthPeeled()

bool glsl::depthPeel_glsl::isDepthPeeled ( in sampler2D  prevDepthBuffer,
in vec2  currentToPrevScale,
in float  minZGap,
in vec3  fragCoord,
in vec3  clipInfo 
)
inline

Returns true if the current Z value is less than minZGap in back of the old Z value.


documentation generated on Wed Nov 24 2021 08:02:03 using doxygen 1.8.15