ScatterFlowDocumentation

Godot: Weather

Add rain and snow, wet surfaces, puddles, and snow cover

Beta ScatterFlow Link for Godot is in early development. Features, settings, and interface elements may change between releases.

How the weather works

SF Weather adds rain or snow around the camera and changes the ground to match, with wet surfaces and puddles in rain and settled snow in snowfall. It works on the materials ScatterFlow brings over from Blender, so you don't need to edit any materials.

If the scene has an SF Sky, the sky reacts to the weather too. See Weather Link to set how strongly it follows.

Starting and stopping the weather

Add Weather

Click the rain-cloud icon at the top of the ScatterFlow Pro dock to add an SF Weather node to the open scene. Its presets and settings are in the dock's Weather section.

Click the None button to stop the rain or snow. This removes the SF Weather node and returns the sky to its Sky Preset.

Only one SF Weather drives a scene's surfaces at a time.

Weather presets

The rain preset buttons are Light Rain, Rain, and Thunderstorm, which adds lightning. The snow presets are Light Snow, Snow, and Blizzard, which is close to a white-out. None turns the weather off.

Each preset sets the type of precipitation, its intensity and wind, and whether snow settles. Pick the closest one, then adjust it.

The settings below the presets change with the weather: rain settings while it rains, snow settings while it snows.

General

Intensity, Wind, and Area

  • Intensity 0.7, 0 to 1
  • Wind 0.25, 0 to 1
  • Wind Direction 0°, -180° to 180°
  • Area 36 m, 8 to 200 m

Intensity sets the overall strength of the rain or snow. In rain, it also sets how wet surfaces get and how often drops ring the puddles.

Wind sets how much the wind slants the rain or snow. At 0, it falls straight down. Wind Direction sets which way it blows. At 0°, it blows toward +X.

Area is the size of the region around the camera where rain or snow falls. A smaller area packs the particles close to the camera. A larger one fills more of a wide view with the same number of particles.

Preview in Editor shows the falling rain or snow in the editor. Turn it off to work without the particles. Wet surfaces, puddles, and snow cover stay visible, and the rain or snow still falls in the running game.

Rain

Falling rain

  • Fall Speed 9.5 m/s
  • Drop Length 0.15 m
  • Drop Width 0.009 m
  • Opacity 0.42
  • Amount 20,000 drops

Drops are easiest to see against a dark background, such as a wall or a forest edge.

Fall Speed sets how fast drops fall, up to 20 m/s. Drop Length and Drop Width set the size of each streak, and Opacity how visible they are.

Amount (drops) is the number of drops around the camera at full intensity, from 1,000 to 100,000. Color tints the drops. Their brightness also follows the sky's light, so rain stays dim at night.

Splashes

  • Default on
  • Amount 0.8, 0 to 1

Splashes adds small bursts where raindrops hit the ground, and Amount sets how many. Turning it off keeps the rain rings on puddles.

Wet Surfaces

  • Default on
  • Wetness 0.75, 0 to 1
  • Darkening 0.4, 0 to 1

Wet Surfaces makes ScatterFlow materials darker and glossier in the rain, and adds puddles on flat ground. Turn it off to keep the ground dry while it rains.

Wetness sets how wet surfaces get, from dry to fully soaked. Darkening sets how much they darken. At 0, only the gloss changes.

Puddles

  • Amount 0.5
  • Waves 0.07
  • Wave Size 1
  • Wave Speed 1
  • Rain Rings 1

Puddles are flat, mirror-like water. They fill the low spots of a material first, such as the gaps between paving stones, and grow and join as you raise the amount.

Amount sets how much of the flat ground they cover. At 0, there are no puddles.

Waves, Wave Size, and Wave Speed set the strength, size, and speed of the wind ripples on the puddles. With Waves at 0, the water is still.

Rain Rings sets the rings where drops hit the puddles. At 0, there are none. Light rain makes fewer rings than heavy rain.

Reflections need screen-space reflections. Puddles reflect the scene only when the environment has screen-space reflections (SSR) turned on. Otherwise they reflect just the sky.

Snow

Falling snow

  • Fall Speed 1.1 m/s
  • Flake Size 0.016 m
  • Drift 0.6
  • Opacity 0.9
  • Amount 20,000 flakes

Fall Speed sets how fast flakes fall, up to 5 m/s. Faster snow looks heavier. Flake Size sets the size of each flake, and Opacity how visible they are.

Drift sets how much the flakes swirl from side to side. At 0, they fall straight down.

Amount (flakes) is the number of flakes around the camera at full intensity, from 1,000 to 100,000. Color tints the flakes.

In strong wind, fast flakes are drawn as short streaks, and the snowfall stays full around the camera even in a blizzard.

Snow Cover

  • Amount 0.8
  • Max Coverage 1
  • Patch Size 1
  • Edge Detail 2

Snow Cover settles snow on upward-facing ScatterFlow surfaces. The snow presets turn it on. Turn it off for falling snow that does not settle.

Amount sets how much snow has settled, from a light dusting to full cover. Max Coverage limits how much of the ground snow can cover. Lower values leave bare patches.

Patch Size sets the size of the snow patches, and Edge Detail how ragged their edges are. At 0, the edges are smooth. Both are easiest to see with a lower Max Coverage.

Max Slope

  • Default 60°
  • Range 5° to 85°

Sets the steepest surface that holds snow. Lower it to clear snow from steep slopes and keep it on flatter ground.