What defineWeather takes: the factors that differ from clear’s, a
game’s own factors by name, and the level each ground state tends to
under it, such as { wetness: 1 } for a rain. A ground state left out
dries, melts or settles to 0.
| Property |
Type |
Description |
custom? |
Readonly<Record<string, number>> |
A game’s own factors, each declared with its identity in the plugin’s custom. |
dust? |
number |
× the floating dust’s count by day: an Emitter whose rate names weather: "dust" follows it. 1. |
exposure? |
number |
× the tone-mapping exposure. 1. |
fill? |
number |
× the hemisphere fill’s intensity. 1. |
fireflies? |
number |
× the fireflies’ count by night: an Emitter whose rate names weather: "fireflies" follows it. 1. |
fog? |
number |
× the exponential fog’s density; a linear fog’s distances divide by it. 1. |
godRays? |
number |
× every god-ray shaft’s gain. 1. |
ground? |
Readonly<Record<string, number>> |
The level each ground state tends to, 0 to 1, each declared with its rates in the plugin’s ground, beside the built-in wetness. |
leaves? |
number |
× the falling leaves’ count: an Emitter whose rate names weather: "leaves" follows it. 1. |
overcastShare? |
number |
How overcast the sky stands, 0 to 1: it greys the fog’s, the sky’s horizon, the sun’s and the fill’s colours toward their own luminance in a cool grey, by 1, 1, 0.85 and 0.6 of it, lifts a lamp’s day level toward 0.45 and an emissive’s day toward 0.4 of its night. 0. |
rainShare? |
number |
The share of the rain’s drops that fall, 0 to 1. 0. |
saturationOffset? |
number |
Added to the grade’s saturation multiplier, as its night saturation moves it, never to the signed LiveGrading.saturation: Luminati’s -0.24 takes its 1.3 to 1.06. 0. |
snowShare? |
number |
The share of the snow’s flakes that fall, 0 to 1. 0. |
sun? |
number |
× the key light’s intensity. 1. |
temperatureOffset? |
number |
Added to the grade’s white balance temperature, in its units; under a grade before the tone mapping, it tints the frame the same way. 0. |
wind? |
number |
× the look’s wind speed. 1. |