Skip to content

GroundMix beta ​

Interface of @v12-engine/client

ts
export interface GroundMix

How a ground mixed of two others is mixed (TileLook.mix, MapTile.mix): by a noise of its own, the second where the noise is high. Each as it is when left out

Members ​

balance ​

ts
balance?: number;

How much of the second: 0 none, 1 all of it. Half when left out

patches ​

ts
patches?: number;

How many patches across a picture, about: 4 when left out

seed ​

ts
seed?: number;

Another way of the same mix

softness ​

ts
softness?: number;

How soft the edges of its patches are: 0 sharp, 1 soft. 0.3 when left out