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


Apply a color and texture. More...

Public Member Functions

void main (void)
 
void writePixel (vec3 premultipliedReflectionAndEmission, float coverage, vec3 transmissionCoefficient, float smoothness, float etaRatio, vec3 csPosition, vec3 csNormal)
 

Public Attributes

out vec4 _result
 
uniform vec4 color
 
in vec3 csPosition
 

Detailed Description


Apply a color and texture.

Member Function Documentation

◆ main()

void glsl::unlit_pix::main ( void  )
inline

◆ writePixel()

void glsl::unlit_pix::writePixel ( vec3  premultipliedReflectionAndEmission,
float  coverage,
vec3  transmissionCoefficient,
float  smoothness,
float  etaRatio,
vec3  csPosition,
vec3  csNormal 
)
inline

Member Data Documentation

◆ _result

out vec4 glsl::unlit_pix::_result

◆ color

uniform vec4 glsl::unlit_pix::color

◆ csPosition

in vec3 glsl::unlit_pix::csPosition

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