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

Shader program. More...

Public Member Functions

void main ()
 

Public Attributes

uniform float3 clipInfo
 
uniform float2 currentToPreviousScale
 
textureSize(previousDepthBuffer) / textureSize(currentDepthBuffer) More...
 
uniform float minZSeparation
 Minimum z distance that new faces must be beyond previousDepthBuffer to be written. More...
 
uniform sampler2D previousDepthBuffer
 Need not be at the same resolution as the current depth buffer. More...
 

Detailed Description

Shader program.

Member Function Documentation

◆ main()

void glsl::UniversalSurface_depthPeel_pix::main ( void  )
inline

Member Data Documentation

◆ clipInfo

uniform float3 glsl::UniversalSurface_depthPeel_pix::clipInfo

◆ currentToPreviousScale

uniform float2 glsl::UniversalSurface_depthPeel_pix::currentToPreviousScale


textureSize(previousDepthBuffer) / textureSize(currentDepthBuffer)

◆ minZSeparation

uniform float glsl::UniversalSurface_depthPeel_pix::minZSeparation

Minimum z distance that new faces must be beyond previousDepthBuffer to be written.

◆ previousDepthBuffer

uniform sampler2D glsl::UniversalSurface_depthPeel_pix::previousDepthBuffer

Need not be at the same resolution as the current depth buffer.

For samples to be written, they must be at greater gl_FragCoord.z values than those in this buffer.


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