Apply visibility coloration according to the baseLine color. Uses very lightweight gaussian vertical and horizontal blur filter passes.

Hierarchy (view full)

Properties

#blurXFilter: AlphaBlurFilterPass

Horizontal inner blur filter

#blurYFilter: AlphaBlurFilterPass

Vertical inner blur filter

#overlayTex: any

Optional fog overlay texture

defaultUniforms: {
    exploredColor: number[];
    unexploredColor: number[];
    screenDimensions: number[];
    visionTexture: any;
    primaryTexture: any;
    overlayTexture: any;
    overlayMatrix: any;
    hasOverlayTexture: boolean;
} = ...

Type declaration

  • exploredColor: number[]
  • unexploredColor: number[]
  • screenDimensions: number[]
  • visionTexture: any
  • primaryTexture: any
  • overlayTexture: any
  • overlayMatrix: any
  • hasOverlayTexture: boolean

Accessors

  • set blur(value): void
  • Set the blur strength

    Parameters

    • value: number

      blur strength

    Returns void

Methods

  • Parameters

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

    Returns void

  • Calculate the fog overlay sprite matrix.

    Parameters

    • filterManager: FilterSystem

    Returns void

  • Parameters

    • options: any

    Returns string