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 FRAGMENT_Shader final
Static ADJUST_Adjust the intensity according to the difference between the pixel darkness level and the scene darkness level. Used to see the difference of intensity when computing the background shader which is completeley overlapping The surface texture.
Static ADJUSTMENTSStatic SHADER_Memory allocations for the Adaptive Background Shader
Static FRAGMENT_Common functions used by the fragment shaders.
Static EXPOSUREStatic 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 CONTRASTContrast adjustment
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
Flag whether the background shader is currently required. 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
Protected _configureProtected _preStatic getStatic createA factory method for creating the shader using its defined default values
Shader specialized in light amplification