The filter used by the weather layer to mask weather above occluded roofs.

Hierarchy (view full)

Properties

elevation: number = Infinity

Elevation of this weather occlusion mask filter.

vertexShader: string = ...
fragmentShader: string = ...
defaultUniforms: {
    depthElevation: number;
    useOcclusion: boolean;
    occlusionTexture: any;
    reverseOcclusion: boolean;
    occlusionWeights: number[];
    useTerrain: boolean;
    terrainTexture: any;
    reverseTerrain: boolean;
    terrainWeights: number[];
    sceneDimensions: number[];
    sceneAnchor: number[];
    terrainUvMatrix: any;
} = ...

Type declaration

  • depthElevation: number
  • useOcclusion: boolean
  • occlusionTexture: any
  • reverseOcclusion: boolean
  • occlusionWeights: number[]
  • useTerrain: boolean
  • terrainTexture: any
  • reverseTerrain: boolean
  • terrainWeights: number[]
  • sceneDimensions: number[]
  • sceneAnchor: number[]
  • terrainUvMatrix: any

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.