ZylemFogHeightOptions
@zylem/game-lib / entity / ZylemFogHeightOptions
Interface: ZylemFogHeightOptions
Defined in: packages/game-lib/src/lib/entities/fog.ts:18
Optional vertical falloff (a.k.a. ground/height fog).
Properties
enabled?
optionalenabled?:boolean
Defined in: packages/game-lib/src/lib/entities/fog.ts:20
Master toggle. Defaults to false.
falloff?
optionalfalloff?:number
Defined in: packages/game-lib/src/lib/entities/fog.ts:27
Density falloff per world-unit beneath level. Higher values produce
sharper transitions; values <= 0 disable the height contribution.
level?
optionallevel?:number
Defined in: packages/game-lib/src/lib/entities/fog.ts:22
World-space Y at which fog stops attenuating (becomes fully clear).