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

Shader program. More...

Public Member Functions

bool readUniversalMaterialSampleFromGBuffer (ivec2 C, const bool discardOnBackground, const bool returnEarlyOnBackground, out Vector3 w_o, out UniversalMaterialSample surfel)
 Returns true if a finite surface, false if background. More...
 
 uniform_Texture (sampler2D, gbuffer_WS_RAY_DIRECTION_)
 
 uniform_Texture (sampler2D, gbuffer_WS_RAY_ORIGIN_)
 

Detailed Description

Shader program.

Member Function Documentation

◆ readUniversalMaterialSampleFromGBuffer()

bool glsl::deferredHelpers_glsl::readUniversalMaterialSampleFromGBuffer ( ivec2  C,
const bool  discardOnBackground,
const bool  returnEarlyOnBackground,
out Vector3  w_o,
out UniversalMaterialSample  surfel 
)
inline

Returns true if a finite surface, false if background.

Depends on gbuffer_* being defined as globals

◆ uniform_Texture() [1/2]

glsl::deferredHelpers_glsl::uniform_Texture ( sampler2D  ,
gbuffer_WS_RAY_DIRECTION_   
)

◆ uniform_Texture() [2/2]

glsl::deferredHelpers_glsl::uniform_Texture ( sampler2D  ,
gbuffer_WS_RAY_ORIGIN_   
)

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