five-on-it / apps/client/src/renderer/night-view / NIGHT
Variable: NIGHT
constNIGHT:object
Defined in: apps/client/src/renderer/night-view.ts:50
How the night is lit.
Type Declaration
from
readonlyfrom:0.05=0.05
Darker than this (0 by day, 1 at night) the lamps and the windows are lit.
glass
readonlyglass:0.2=0.2
The sheen of the glass at night (a share of its own colour): what an unlit window keeps.
halo
readonlyhalo:1.1=1.1
The halo at a lit lamp's head: its radius (m), how far over the head it floats, its strength of the pool's.
haloLift
readonlyhaloLift:0.5=0.5
haloStrength
readonlyhaloStrength:2.1=2.1
headlightCone
readonlyheadlightCone:1.7=1.7
headlightFalloff
readonlyheadlightFalloff:8=8
headlightRange
readonlyheadlightRange:40=40
The player's spotlight: its reach (m), its strength, its cone (rad) and how fast it dims toward the cone's edge.
headlights
readonlyheadlights:1.5=1.5
pool
readonlypool:0.42=0.42
The pools' strength at night (what is added of their light).
poolProbe
readonlypoolProbe:3=3
A pool leans with the ground under it, read this far from the lamp's foot (m), by this much at most (rise over run).
poolSlope
readonlypoolSlope:0.35=0.35
warm
readonlywarm: readonly [1,0.84,0.55]
The warm light of a lamp's pool.