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


This shader expects a prefix (GBuffer::macros() or SVO::macros()) to be attached at runtime using Shader::setPremable. More...

Public Member Functions

 layout (location=0) in vec2 texCoord
 Texture coordinate. More...
 
 layout (location=1) in vec3 wsPosition
 
 layout (location=10) in vec4 vertexColor
 
void main ()
 

Public Attributes

float backside = (gl_FrontFacing == g3d_InvertY) ? 1.0 : -1.0
 
Point3 csExpressivePrevPosition
 
Point3 csPrevPosition
 
uniform vec2 lowerCoord
 Do not read color attributes (except LAMBERTIAN, if an alpha test is required) outside of this rectangle. More...
 
in Radiance3 pointEmission
 
mat4 ProjectToScreenMatrix
 
uniform vec2 upperCoord
 

Detailed Description


This shader expects a prefix (GBuffer::macros() or SVO::macros()) to be attached at runtime using Shader::setPremable.

Member Function Documentation

◆ layout() [1/3]

glsl::PointSurface_gbuffer_pix::layout ( location  = 0)

Texture coordinate.

◆ layout() [2/3]

glsl::PointSurface_gbuffer_pix::layout ( location  = 1)

◆ layout() [3/3]

glsl::PointSurface_gbuffer_pix::layout ( location  = 10)

◆ main()

void glsl::PointSurface_gbuffer_pix::main ( void  )
inline

Member Data Documentation

◆ backside

float glsl::PointSurface_gbuffer_pix::backside = (gl_FrontFacing == g3d_InvertY) ? 1.0 : -1.0

◆ csExpressivePrevPosition

Point3 glsl::PointSurface_gbuffer_pix::csExpressivePrevPosition

◆ csPrevPosition

Point3 glsl::PointSurface_gbuffer_pix::csPrevPosition

◆ lowerCoord

uniform vec2 glsl::PointSurface_gbuffer_pix::lowerCoord

Do not read color attributes (except LAMBERTIAN, if an alpha test is required) outside of this rectangle.

Used to implement the trim band outside of which only depth is recorded.

◆ pointEmission

in Radiance3 glsl::PointSurface_gbuffer_pix::pointEmission

◆ ProjectToScreenMatrix

mat4 glsl::PointSurface_gbuffer_pix::ProjectToScreenMatrix

◆ upperCoord

uniform vec2 glsl::PointSurface_gbuffer_pix::upperCoord

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