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

Shader program. More...

Public Member Functions

 DECLARE_GBUFFER (gbuffer) uniform float invResolution
 
void main ()
 
 uniform_UniversalMaterial (material_)
 

Public Attributes

float backside = (gl_FrontFacing == g3d_InvertY) ? 1.0 : -1.0
 
uniform vec2 lowerCoord
 Do not read color attributes (except LAMBERTIAN, if an alpha test is required) outside of this rectangle. More...
 
uniform float normalizedIndexOfRefraction
 Index of refraction / 24.0. More...
 
in vec3 tan_L
 
in vec3 tan_Z
 
varying vec2 texCoord
 Texture coordinate. More...
 
uniform vec2 upperCoord
 
varying vec3 wsPosition
 

Detailed Description

Shader program.

Member Function Documentation

◆ DECLARE_GBUFFER()

glsl::UniversalSurface_SVO_pix::DECLARE_GBUFFER ( gbuffer  )

◆ main()

void glsl::UniversalSurface_SVO_pix::main ( void  )
inline

◆ uniform_UniversalMaterial()

glsl::UniversalSurface_SVO_pix::uniform_UniversalMaterial ( material_  )

Member Data Documentation

◆ backside

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

◆ lowerCoord

uniform vec2 glsl::UniversalSurface_SVO_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.

◆ normalizedIndexOfRefraction

uniform float glsl::UniversalSurface_SVO_pix::normalizedIndexOfRefraction

Index of refraction / 24.0.

◆ tan_L

in vec3 glsl::UniversalSurface_SVO_pix::tan_L

◆ tan_Z

in vec3 glsl::UniversalSurface_SVO_pix::tan_Z

◆ texCoord

varying vec2 glsl::UniversalSurface_SVO_pix::texCoord

Texture coordinate.

◆ upperCoord

uniform vec2 glsl::UniversalSurface_SVO_pix::upperCoord

◆ wsPosition

varying vec3 glsl::UniversalSurface_SVO_pix::wsPosition

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