Skip to content

fogBrightnessOf beta ​

Function of @v12-engine/client

ts
export declare function fogBrightnessOf(rules: Pick<FogSettings, 'explored' | 'mask'> | undefined): Required<FogBrightness>;

The fog's brightness as the rules have it (FogSettings): explored ground as black as never seen where nothing is kept (explored: 'nothing'), never seen as dim as explored (mask: 'dim'); the client's own else. A game's view (GameView.world.fog) is laid over it