Skip to content

MistGround beta ​

Interface of @v12-engine/render

ts
export interface MistGround

The layer of mist on the ground: thick at its base, thinning to nothing at its top

Members ​

base ​

ts
base: number;

The height it is thickest at

colour ​

ts
colour: Vec3;

Its colour

density ​

ts
density: number;

How much of what is behind a cell of it is hidden at its base, 0 to 1

top ​

ts
top: number;

The height it thins to nothing at