rain slanted streaks

veiland-rain · particles · example scene: rain.toml

Wind-slanted rain streaks with depth: near drops are longer, faster, and brighter than far ones.

rain scene capture

slant_deg is the only configurable wind in the particle family.

Properties

keytypedefaultmeaning
countinteger`90`Number of drops. Rain is a volume, so the default is the densest in the family.
color[r,g,b,a]`[0.72, 0.80, 0.95, 0.65]`Drop color (cool translucent blue-grey); alpha sets the brightness of the nearest drops.
length_pxfloat`36.0`Streak length in logical px for the nearest drops; farther drops shrink automatically.
slant_degfloat`10.0`Shared wind angle in degrees from vertical; positive leans the fall rightward. All drops share it, so the rain falls as a coherent sheet.

every key is optional; omit it and the default applies. misspelled keys are silently ignored, so if a setting seems to do nothing, check the spelling against this table. colors are 0.0–1.0 float arrays.