The initial values of the shader uniforms.
Static
fragmentThe raw fragment shader used by this class. A subclass of AbstractBaseShader must implement the fragmentShader static field.
Static
defaultThe default uniform values for the shader. A subclass of AbstractBaseShader must implement the defaultUniforms static field.
Static
EXPOSUREStatic
CONTRASTStatic
SHADER_Memory allocations for the Adaptive Coloration Shader
Static
FRAGMENT_Common functions used by the fragment shaders.
Static
COMPUTE_Compute illumination uniforms
Static
FRAGMENT_Static
SHADOWStatic
SHADER_A mapping of available shader techniques
Static
forceHas this lighting shader a forced default color?
Static
VERTEX_Common attributes for vertex shaders.
Static
VERTEX_Common uniforms for vertex shaders.
Static
VERTEX_Common varyings shared by vertex and fragment shaders.
Static
VERTEX_Common functions used by the vertex shaders.
Static
FRAGMENT_Common uniforms shared by fragment shaders.
Static
CONSTANTSStatic
vertexThe raw vertex shader used by this class. A subclass of AbstractBaseShader must implement the vertexShader static field.
Static
SATURATIONSaturation adjustment
Static
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
FALLOFFIncorporate falloff if a attenuation uniform is requested
Static
FRAGMENT_Shader final
Flag whether the coloration shader is currently required. If key uniforms are at their default values, we don't need to render the coloration container.
Static
COLORATION_The coloration technique coloration shader fragment
Static
ILLUMINATION_The coloration technique illumination shader fragment
Static
BACKGROUND_The coloration technique background shader fragment
Static
ADJUSTMENTSThe adjustments made into fragment shaders
Protected
_configureProtected
_preStatic
getStatic
createA factory method for creating the shader using its defined default values
The wave vision shader, used to create waves emanations (ex: tremorsense)