Extends
Members
(static) ADAPTIVE_COLORATION :string
The coloration technique shader fragment
Type:
- string
_defaults :object
- Inherited From:
The initial default values of shader uniforms
Type:
- object
COLORATION_TECHNIQUES :Object.<string, LightingTechnique>
A mapping of available coloration techniques
Type:
- Object.<string, LightingTechnique>
CONSTANTS :string
Useful constant values computed at compile time
Type:
- string
CONSTRAIN_TO_LOS :string
Constrain light to LOS
Type:
- string
defaultUniforms :object
- Inherited From:
The default uniform values for the shader. A subclass of AbstractBaseShader must implement the defaultUniforms static field.
Type:
- object
DISTANCE :string
Compute distance from the light center
Type:
- string
FALLOFF :string
Incorporate falloff if a gradual uniform is requested
Type:
- string
fragmentShader :string
- Inherited From:
The raw fragment shader used by this class. A subclass of AbstractBaseShader must implement the fragmentShader static field.
Type:
- string
HSB2RGB :string
Convert a Hue-Saturation-Brightness color to RGB - useful to convert polar coordinates to RGB
Type:
- string
NOISE :string
A conventional noise generator
Type:
- string
PERCEIVED_BRIGHTNESS :string
Fast approximate perceived brightness computation Using Digital ITU BT.709 : Exact luminance factors
Type:
- string
PRNG :string
A conventional pseudo-random number generator with the "golden" numbers, based on uv position
Type:
- string
PRNG3D :string
A Vec3 pseudo-random generator, based on uv position
Type:
- string
SWITCH_COLOR :string
Switch between an inner and outer color, by comparing distance from center to ratio Apply a strong gradient between the two areas if gradual uniform is set to true
Type:
- string
TRANSITION :string
Transition between bright and dim colors, if requested
Type:
- string
vertexShader :string
- Overrides:
The raw vertex shader used by this class. A subclass of AbstractBaseShader must implement the vertexShader static field.
Type:
- string
Methods
(static) FADE()
Fade easing to use with distance in interval [0,1]
(static) FBM()
Fractional Brownian Motion for a given number of octaves