Support Forum G3D Web Page |
Shader program. More...
Public Member Functions | |
void | main () |
void | writePixel (vec3 premultipliedReflectionAndEmission, float coverage, vec3 transmissionCoefficient, float collimation, float etaRatio, vec3 csPosition, vec3 csNormal) |
Public Attributes | |
out vec4 | _result |
uniform vec4 | color |
in vec3 | csNormal |
in vec3 | csPosition |
out vec4 | result |
Shader program.
|
inline |
|
inline |
out vec4 glsl::Draw_sphereSection_pix::_result |
uniform vec4 glsl::Draw_sphereSection_pix::color |
in vec3 glsl::Draw_sphereSection_pix::csNormal |
in vec3 glsl::Draw_sphereSection_pix::csPosition |
out vec4 glsl::Draw_sphereSection_pix::result |