The initial values of the shader uniforms.
Static
COMPUTE_Compute illumination uniforms
Static
CONSTANTSStatic
CONTRASTContrast adjustment
Static
defaultThe default uniform values for the shader. A subclass of AbstractBaseShader must implement the defaultUniforms static field.
Static
EXPOSUREExposure adjustment
Static
FALLOFFIncorporate falloff if a attenuation uniform is requested
Static
forceHas this lighting shader a forced default color?
Static
FRAGMENT_Initialize fragment with common properties
Static
FRAGMENT_Static
Abstract
FRAGMENT_Common functions used by the fragment shaders.
Static
FRAGMENT_Common uniforms shared by fragment shaders.
Static
fragmentThe raw fragment shader used by this class. A subclass of AbstractBaseShader must implement the fragmentShader static field.
Static
SATURATIONSaturation adjustment
Static
SHADER_Memory allocations for the Adaptive Coloration Shader
Static
SHADER_A mapping of available shader techniques
Static
SHADOWStatic
SWITCH_Switch between an inner and outer color, by comparing distance from center to ratio Apply a strong gradient between the two areas if attenuation uniform is set to true
Static
TRANSITIONTransition between bright and dim colors, if requested
Static
VERTEX_Common attributes for vertex shaders.
Static
VERTEX_Common varyings shared by vertex and fragment shaders.
Static
Abstract
VERTEX_Common functions used by the vertex shaders.
Static
VERTEX_Common uniforms for vertex shaders.
Static
vertexThe raw vertex shader used by this class. A subclass of AbstractBaseShader must implement the vertexShader static field.
Flag whether the coloration shader is currently required.
Static
ADJUSTMENTSThe adjustments made into fragment shaders
Static
BACKGROUND_The coloration technique background shader fragment
Static
COLORATION_The coloration technique coloration shader fragment
Static
ILLUMINATION_The coloration technique illumination shader fragment
Reset the shader uniforms back to their initial values.
Called before rendering.
Protected
_configureProtected
A one time initialization performed on creation.
Protected
_preProtected
Perform operations which are required before binding the Shader to the Renderer.
The mesh display object linked to this shader.
The renderer
Static
createA factory method for creating the shader using its defined default values
Static
getConstruct adaptive shader according to shader type
shader type to construct : coloration, illumination, background, etc.
the constructed shader adaptive block
The default coloration shader used by standard rendering and animations. A fragment shader which creates a light source.