Skip to content
Docs
Open Promoeyes

precip

set 0× in templates and rigs

Weather in a box: rain, snow, sand or ash, each flake drawn stretched along its velocity, with rings or settled flakes on an optional floor and a low drift layer; a pure function of scene time.

precip(blur=1 color=#ffffff color-ember=#ffffff)

Attributes

blurnumber0×
colorcolour #rrggbb0×
color-embercolour #rrggbb0×
countnumberHow many flakes, up to 20000 (default per type).0×
driftnumber0..1, a low layer of wind-driven streams along the floor, as a share of `count` (default 0.3 for sand, else 0).0×
drift-heightnumber0×
drift-speednumber0×
embernumber0×
everynumber0×
exposurenumberSeconds of motion a streak spans: long faint near the lens, short sharp far off (default per type).0×
fadenumberSeconds it takes to fade out (default 1.2).0×
fallnumbermm/s down (default per type).0×
flakenumberA flake's diameter, mm (default per type).0×
floornumbery of a flat floor in the node's own space, where flakes end and marks land (default none).0×
flutternumber0×
flutter-ratenumber0×
gustnumber0..1, how much the wind surges and bands the air into thick and thin (default per type).0×
holdnumberSeconds it stands (default 100000: for good).0×
looptrue / false0×
mark-opacitynumber0×
mark-sizenumber0×
marksnumberHow many rain rings or settled flakes lie on the floor, up to 2000; needs `floor` (default per type).0×
nearnumber0×
opacitynumber0×
seednumber0×
settlenumber0×
size"x y z"The box `x y z`, mm; x and z centred on the node, y from the node up (default 2600 1200 2000).0×
speed-varnumber0×
startnumberWhen it fades in, seconds (default 0).0×
travelnumberSeconds it takes to fade in (default 0.8).0×
tumblenumber0×
typetextrain, snow, sand or ash; sets the default of every other attribute (default rain).0×
wind"x y z"mm/s: `x y z`, `x z`, or a number along +x, in the node's own axes (default per type).0×