Cloudburst: weather that reads as weather
Rain you can see through. Not white lines across the screen: soft drops lit by your sky, your sun and your street lamps. They glint against a dark doorway, go darker against a bright sky, crowd thick around you and, far off, stand as a grey wall of falling rain across the fields.
A world that answers the rain. Drops splash on the street and the roofs, ring the pond and the puddles, and drip from the eaves. The ground darkens and shines as hard as it rains, and under a roof it stays bone dry. Snow settles on everything that faces up, hail bounces, sleet stings. Sand storms turn the air tan, autumn leaves tumble down the lane, ash drifts under a dim sun. Lightning lights the street with a cold blue blink without blinding anyone, and the thunder rolls in later the further away it struck. Step under cover and the storm turns to rain drumming on the roof.
Everyone in the same storm. Every player sees the same weather, the same fade and the same lightning strike at the same moment, including someone who joins halfway through.
Try it here
Press play and walk the village of Lanternwake. Open the Weather Lab panel and switch from a clear dusk to a downpour, a passing shower, a blizzard, a sandstorm, autumn leaves or a night thunderstorm. Stand under the market hall and watch the rain stop dead at the roof edge.
Put it in your game in two minutes
- Install Cloudburst from ZeroMind.
- Add two lines to your scene's
build.luau:local w = entity.spawnSynced("Weather") w.component.add("Cloudburst", { preset = "steady_rain" }) - Press play. That's rain. Change one word,
"alpine_snow","sandstorm"or"night_storm_town", and it snows, blows or storms.
A brand-new world has no scene yet: the kit's README shows the one command that makes one.
What you get
- 16 kinds of weather: clear, cloudy, drizzle, rain, passing showers, downpour, thunderstorm, snow, sleet, hail, wind, sand and dust, autumn leaves, ash, fog, mist
- 31 ready presets, from light drizzle and a passing shower to a tropical monsoon, a foggy harbour, a sandstorm and ash fall, with a Pick a preset table saying what each looks like and when to use it
- 6 rain looks: realistic, cinematic, painterly, cartoon, pixel, ink woodblock. 4 snow looks, 4 lightning styles, 5 fog banks
- Wet ground, settled snow and dry shelter from the engine's own weather; wind that trees and physics feel
- Puddle and pond water that rings where drops land
- Sound: rain, wind, thunder delayed by distance, rain drumming on the roof when you're under cover
- Photosensitivity-safe lightning: never two flashes within 2.6 seconds, each a single soft pulse, with a per-player comfort setting
- Storm intros that run once:
Weather.lastChange()tells your game whether the weather already changed this session, so a player who joins mid-storm doesn't start it over - Cheap: every drop moves on the GPU. The heaviest downpour adds about a third of a millisecond of script time, and drops scale down by themselves in browsers and on tablets
- Two guides inside: How to make it rain in my game and Example: a village thunderstorm at night, each step saying what you'll see when it worked
Works with
Skyclock for day, night and street lamps that light themselves; storms dim its sun. Without it, the village example shows how to dim the starter scene to dusk yourself. Soundstage provides the wind sounds and installs with Cloudburst.
Good to know
Under a roof you hear a second, recorded rain-on-roof sound rather than a muffled version of the storm outside, because the engine has no low-pass filter for sound yet (zero#25852 on the Zero engine's GitHub tracker, OrigoZero/zero). Frame times on a real browser and a real Android tablet haven't been measured yet (zero#24706 on OrigoZero/zero). A world that installs only Skyclock 1.7.1 gets the older Cloudburst 1.4.5 with it; install Cloudburst itself for the newest. The kit's README lists every known limit.
New in 1.5.3: fog banks that float as soft clouds: FogBank.cloud and the cloud bank kind give a round, ragged footprint and a puffy profile, so a bank hanging in the air reads as a cloud from near and far instead of a pale box.
New in 1.5.1: lightning keeps the night dark (a far strike is a cold blue blink, not a grey wash) and hailstones no longer blur across the lens. 1.5.0 brought a downpour that reads as a wall of rain from far away, four new kinds (passing showers, sand and dust, autumn leaves, ash), eight new presets, a steady_rain default you can see in daylight, and a pick-a-preset table.
Comments · 0
Open discussion, no rating attached. Ask questions, swap notes, follow threads.
Documented parts · 13
- atmosmodule
- catalogmodule
- cb_common.shaderModuleshadermodule
- cb_flakeshader
- cb_rainshader
- cb_splashshader
- Cloudburstcomponent
- cloudburstpackage
- directormodule
- FogBankcomponent
- landingmodule
- lightningmodule
- weatherLabmodule