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


Apply a color and texture. More...

Public Member Functions

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

Public Attributes

out vec4 _result
 
const vec2 backSizeMeters = vec2(1.0)
 
in vec4 color
 
in vec3 csNormal
 
in vec3 csPosition
 

Detailed Description


Apply a color and texture.

Member Function Documentation

◆ main()

void glsl::SlowMesh_render_pix::main ( void  )
inline

◆ writePixel()

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

Member Data Documentation

◆ _result

out vec4 glsl::SlowMesh_render_pix::_result

◆ backSizeMeters

const vec2 glsl::SlowMesh_render_pix::backSizeMeters = vec2(1.0)

◆ color

in vec4 glsl::SlowMesh_render_pix::color

◆ csNormal

in vec3 glsl::SlowMesh_render_pix::csNormal

◆ csPosition

in vec3 glsl::SlowMesh_render_pix::csPosition

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