Varying variables
[Shaders]
VolumeViz GLSL varying variables.
More...
VolumeViz GLSL varying variables.
The following varying variables are set by the predefined vertex shader functions for use in fragment shaders.
- VVizLightingVec : vec3 : Directional light vector in object space.
The first directional light found in the scene graph is used for this value.
- VVizViewVec : vec3 : Vertex-to-eye vector in object space.
- VVizHalfVec : vec3 : Half vector in object space (VVizViewVec+VVizLightingVec)/2 .