interface WeatherOcclusionMaskConfiguration {
    channelWeights: number[];
    enabled: boolean;
    reverse?: boolean;
    texture: Texture<Resource> | RenderTexture;
}

Properties

channelWeights: number[]

An RGBA array of channel weights applied to the mask texture.

enabled: boolean

Enable or disable this mask.

reverse?: boolean

If the mask should be reversed.

texture: Texture<Resource> | RenderTexture

A texture which defines the mask region.