The initial values of the shader uniforms.
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
Static FRAGMENT_Shader final
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 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
This class defines an interface which all adaptive vision shaders extend.