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
defaultStatic
FRAGMENT_Shader final
Static
FRAGMENT_Initialize fragment with common properties
Static
SHADER_Memory allocations for the Adaptive Background Shader
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
FRAGMENT_Common functions used by the fragment shaders.
Static
CONSTANTSStatic
vertexThe raw vertex shader used by this class. A subclass of AbstractBaseShader must implement the vertexShader static field.
Static
CONTRASTContrast adjustment
Static
SATURATIONSaturation adjustment
Static
EXPOSUREExposure 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
SHADOWShadow adjustment
Static
TRANSITIONTransition between bright and dim colors, if requested
Static
FALLOFFIncorporate falloff if a attenuation uniform is requested
Static
COMPUTE_Compute illumination uniforms
Static
SHADER_A mapping of available shader techniques
Flag whether the darkness shader is currently required. Check vision modes requirements first, then if key uniforms are at their default values, we don't need to render the background 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
Black Hole animation illumination shader