Skip to main content

ZylemFogNoiseOptions

@zylem/game-lib


@zylem/game-lib / entity / ZylemFogNoiseOptions

Interface: ZylemFogNoiseOptions

Defined in: packages/game-lib/src/lib/entities/fog.ts:35

Optional 3D animated noise applied to fog density.

Specifying a noise block enables noise modulation; omit it to disable.

Properties​

scale?​

optional scale?: number

Defined in: packages/game-lib/src/lib/entities/fog.ts:37

Spatial scale of the noise; lower = larger pockets of clearer / denser fog.


speed?​

optional speed?: number

Defined in: packages/game-lib/src/lib/entities/fog.ts:41

Animation speed (world-units per second of advect).


strength?​

optional strength?: number

Defined in: packages/game-lib/src/lib/entities/fog.ts:39

Modulation strength in [0, 1]. 0 = no effect, 1 = full ±100% modulation.