AdaptiveBackgroundShader

AdaptiveBackgroundShader

The default coloration shader used by standard rendering and animations A fragment shader which creates a solid light source.

Constructor

new AdaptiveBackgroundShader()

Implements:

Members

ADJUSTMENTS :string

Color adjustments : exposure, contrast and shadows

Type:
  • string

CONSTRAIN_TO_LOS :string

Implements:

Constrain light to LOS

Type:
  • string

defaultUniforms :object

Inherited From:
Implements:

The default uniform values for the shader. A subclass of AbstractBaseShader must implement the defaultUniforms static field.

Type:
  • object

FALLOFF :string

Implements:

Incorporate falloff if a gradual uniform is requested

Type:
  • string

fragmentShader :string

Inherited From:
Implements:

The raw fragment shader used by this class. A subclass of AbstractBaseShader must implement the fragmentShader static field.

Type:
  • string

isRequired :boolean

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.

Type:
  • boolean

SHADER_HEADER :string

Memory allocations for the Adaptive Background Shader

Type:
  • string