Skip to main content

Type Alias: HeightFogUniforms

HeightFogUniforms = object

Defined in: modules/lighting/height-fog/height-fog.ts:8

Properties​

baseHeight​

baseHeight: number

Defined in: modules/lighting/height-fog/height-fog.ts:11


color​

color: [number, number, number]

Defined in: modules/lighting/height-fog/height-fog.ts:9


density​

density: number

Defined in: modules/lighting/height-fog/height-fog.ts:10


evolutionSpeed​

evolutionSpeed: number

Defined in: modules/lighting/height-fog/height-fog.ts:21

Rate of internal wisp deformation; zero keeps a rigidly advected field.


heightFalloff​

heightFalloff: number

Defined in: modules/lighting/height-fog/height-fog.ts:12


time​

time: number

Defined in: modules/lighting/height-fog/height-fog.ts:19


variation​

variation: number

Defined in: modules/lighting/height-fog/height-fog.ts:14

Spatial density variation, from uniform (0) to wispy (1).


velocity​

velocity: [number, number, number]

Defined in: modules/lighting/height-fog/height-fog.ts:18

Fog advection in metres per second in the same frame as the positions.


wispScale​

wispScale: number

Defined in: modules/lighting/height-fog/height-fog.ts:16

Horizontal size of fog banks in metres.