The default coloration shader used for vision sources.
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.
The coloration technique coloration shader fragment
The coloration technique illumination shader fragment
The coloration technique background shader fragment
The adjustments made into fragment shaders
Determine the correct penalty to apply for a given darkness level and luminosity
The current darkness level on [0,1]
The light source luminosity on [-1,1]
The amount of penalty to apply on [0,1]
Construct adaptive shader according to shader type
shader type to construct : coloration, illumination, background, etc.
the constructed shader adaptive block
A factory method for creating the shader using its defined default values
The initial default values of shader uniforms
Incorporate falloff if a falloff uniform is requested
Memory allocations for the Adaptive Coloration Shader
The raw fragment shader used by this class. A subclass of AbstractBaseShader must implement the fragmentShader static field.
The default uniform values for the shader. A subclass of AbstractBaseShader must implement the defaultUniforms static field.
Initialize fragment with common properties
A mapping of available shader techniques
The raw vertex shader used by this class. A subclass of AbstractBaseShader must implement the vertexShader static field.
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
Transition between bright and dim colors, if requested