Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

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

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • OptionalvertexSrc: string

        The source of the vertex shader.

      • OptionalfragmentSrc: string

        The source of the fragment shader.

      • Optionaluniforms: Dict<any>

        Custom uniforms to use to augment the built-in ones.

      Returns WeatherOcclusionMaskFilter

    Properties

    elevation: number = Infinity

    Elevation of this weather occlusion mask filter.

    Accessors

    • get defaultUniforms(): {
          depthElevation: number;
          occlusionTexture: null;
          occlusionWeights: number[];
          reverseOcclusion: boolean;
          reverseTerrain: boolean;
          sceneAnchor: number[];
          sceneDimensions: number[];
          terrainTexture: null;
          terrainUvMatrix: Matrix;
          terrainWeights: number[];
          useOcclusion: boolean;
          useTerrain: boolean;
      }

      Returns {
          depthElevation: number;
          occlusionTexture: null;
          occlusionWeights: number[];
          reverseOcclusion: boolean;
          reverseTerrain: boolean;
          sceneAnchor: number[];
          sceneDimensions: number[];
          terrainTexture: null;
          terrainUvMatrix: Matrix;
          terrainWeights: number[];
          useOcclusion: boolean;
          useTerrain: boolean;
      }

    Methods

    • Parameters

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

      Returns void

    • Returns string