five-on-it / apps/client/src/renderer/daylight / DAYLIGHT
Variable: DAYLIGHT
constDAYLIGHT:object
Defined in: apps/client/src/renderer/daylight.ts:24
How the night and the weather light the scene.
Type Declaration
fog
readonlyfog:0.012=0.012
The fog's density at its thickest (EXP2, per metre)…
low
readonlylow: readonly [1,0.72,0.5]
The sun's tint low at dawn and dusk.
minNight
readonlyminNight:0.25=0.25
The darkest the player may set the night (a share of the day's light).
moon
readonlymoon:0.12=0.12
What the moon gives back of the sun at night.
night
readonlynight: readonly [0.55,0.62,0.95]
The night's tint of the sky light (moonlight blue).
overcastSky
readonlyovercastSky:0.25=0.25
…and this share of the sky light.
overcastSun
readonlyovercastSun:0.6=0.6
A fully overcast sky takes this share of the sun…
rainHaze
readonlyrainHaze:0.003=0.003
…and the rain's haze at a downpour.