A filter used to apply color adjustments and other modifications to the environment.

Hierarchy (view full)

Properties

fragmentShader: string = ...
defaultUniforms: {
    uSampler: any;
    darknessLevelTexture: any;
    cycle: boolean;
    baseTint: number[];
    baseIntensity: number;
    baseLuminosity: number;
    baseSaturation: number;
    baseShadows: number;
    darkTint: number[];
    darkIntensity: number;
    darkLuminosity: number;
    darkSaturation: number;
    darkShadows: number;
} = ...

Type declaration

  • uSampler: any
  • darknessLevelTexture: any
  • cycle: boolean
  • baseTint: number[]
  • baseIntensity: number
  • baseLuminosity: number
  • baseSaturation: number
  • baseShadows: number
  • darkTint: number[]
  • darkIntensity: number
  • darkLuminosity: number
  • darkSaturation: number
  • darkShadows: number
vertexShader: string = ...

The default vertex shader used by all instances of AbstractBaseMaskFilter

Methods

  • Parameters

    • filterManager: any
    • input: any
    • output: any
    • clear: any
    • currentState: any

    Returns void

  • A factory method for creating the filter using its defined default values.

    Parameters

    • Optional initialUniforms: object = {}

      Initial uniform values which override filter defaults

    Returns AbstractBaseFilter

    The constructed AbstractFilter instance.