Skip to content

Rain

Weather reference
FXMasterParticle effectAPI type: rain
Preview shows Rain in Top Down mode with Background and Token Trails enabled

Procedural rain with side-view or top-down rendering, splashes, wet ground backgrounds, and token trails.

Weather effects can cover a full Scene or be limited to Regions. Configure the placement or movement controls exposed by the effect first, then tune its appearance, population, and optional background controls.

Reference Value
Package FXMaster
Effect kind Particle effect
Category Weather
Runtime type rain
Exposed parameters 37

Rain has separate normal and Top Down presentations. Choose Top Down before tuning movement because it changes how the rain, direction, and splash layer are rendered.

Scale, Speed, Density, Opacity, and Direction control the main rain layer. Splash adds impact sprites. Splash Density and Splash Scale are independent from the main Rain Density and Scale, so impacts can remain visible without forcing the airborne layer to use the same amount or size.

Within an enabled Rain effect, Background adds a persistent wet surface with controls separate from the airborne rain and splashes. Disabling Rain disables the Background as well. It supports immediate or timed fill, ground coverage, patch size, fill variation, movement, opacity, sheen, and shimmer.

Token Trails disturbs the background around moving tokens. Trail Width defines the affected path, Trail Strength controls the amount of disturbance, Token Elevation Threshold limits which tokens interact with the surface, and Settle Time (Seconds) controls how quickly it returns.

  • Top Down: Switches Rain to the overhead presentation intended for top-down maps. This changes particle projection and movement, so set it before finalizing scale and direction.
  • Splash: Enables animated impact splashes where the rain reaches the scene surface.
  • Splash Density: Scales only the animated rain-splash population. Falling rain still uses the main Density control.
  • Direction: Sets the primary travel direction for rain streaks. Directional Spread can add variation around this angle.
  • Background: Render a persistent wet-surface layer behind the rain effect. The layer follows the effect’s stack placement, scene or Region mask, Levels selection, and below-token/tile settings.
  • Token Trails: Create short-lived water splashes and wake highlights from visible token trails moving through the rain wet-surface background.
  • Choose the normal or Top Down presentation before tuning Density and Direction because the two modes use different movement and splash behavior.
  • Splash Density is independent from the primary Rain Density when splashes are enabled.
  • Background Water can fill immediately or over time and supports sheen, shimmer, token interaction, elevation thresholds, and settling.
Preset API name Availability Variants
Acid Rain acid-rain FXMaster Normal, Top Down
Blood Rain blood-rain FXMaster Normal, Top Down
Drizzle drizzle FXMaster Normal, Top Down
Hurricane hurricane FXMaster, FXMaster+ Normal, Top Down
Monsoon monsoon FXMaster, FXMaster+ Normal
Rain rain FXMaster Normal, Top Down
Sleet sleet FXMaster Normal
Sunshower sunshower FXMaster, FXMaster+ Normal, Top Down
Thunderstorm thunderstorm FXMaster, FXMaster+ Normal, Top Down

The table combines the settings available for this effect in Scene and Region contexts. Scene-only and Region-only badges identify controls limited to one context. Hover or focus an info button to see what the parameter changes on the canvas. Select it to keep the card open. Each card also includes the default, range or choices, context, availability, API key, and control type.

37 exposed parameters1 Scene-onlyrain API type

Hover or focus an info button to see what the parameter changes on the canvas. Select it to keep the card open. Context badges identify Scene-only and Region-only controls; unbadged parameters are available in both. Hover or focus an availability condition to highlight the parameter that controls it.

ParameterControlDefaultRange or choicesAvailability
Below Tokens
belowTokens
checkboxOffAlways
Below Tiles
belowTiles
checkboxOffAlways
Below Foreground
belowForeground
checkboxOffAlways
Levels
levelsScene only
scene-levelsAll LevelsAlways
Tint
tint
color#FFFFFF (disabled)Always
Sound FX
soundFxEnabled
checkboxOffAlways
Sound FX Sounds
soundFxManualSoundIds
multi-selectRule default
Top Down
topDown
checkboxOffAlways
Splash
splash
checkboxOnAlways
Splash Density
splashDensity
range0.20.1–1 · step 0.01
Splash Scale
splashScale
range0.20.1–1 · step 0.01
Direction
direction
range0–360 · step 5
Synchronized Direction
synchronizedDirection
checkboxOff
Scale
scale
range0.50.1–1 · step 0.01Always
Speed
speed
range0.20.1–1 · step 0.01Always
Lifetime
lifetime
range0.250.1–1 · step 0.01Always
Density
density
range0.40.01–1 · step 0.01Always
Opacity
alpha
range10–1 · step 0.1Always
Background
backgroundEnabled
checkboxOffAlways
Background Fill
backgroundMode
selectaccumulateFull Coverage, Fill Over Time
Time to Full Coverage
backgroundDuration
range18010–3600 · step 10
Ground Movement Speed
backgroundGroundMovementSpeed
range0.040–1 · step 0.01
Ground Coverage
backgroundCoverage
range0.650.05–1 · step 0.01
Depth Patch Size (Grid Spaces)
backgroundPatchSize
range0.850.35–5 · step 0.05
Fill Variation
backgroundFillVariation
range0.70–1 · step 0.05
Wet Surface Opacity
backgroundOpacity
range0.280–1 · step 0.01
Wet Surface Sheen
backgroundReflectionStrength
range0.580–1 · step 0.01
Water Shimmer
backgroundShimmerStrength
range0.420–1 · step 0.01
Shimmer Speed
backgroundShimmerSpeed
range0.140–1 · step 0.01
Token Trails
backgroundInteractionEnabled
checkboxOff
Trail Width
backgroundInteractionRadius
range0.50–2 · step 0.05
Trail Strength
backgroundInteractionStrength
range0.750–1 · step 0.05
Trail Lift Chance
backgroundInteractionLiftChance
range0.350–1 · step 0.05
Token Elevation Threshold
backgroundInteractionElevationThreshold
number-infinity50–Infinity · step 0.5
Settle Time (Seconds)
backgroundInteractionSettleTime
range1.40.1–5 · step 0.1
Darkness Activation
darknessActivationEnabled
checkboxOffAlways
Darkness Activation Range
darknessActivationRange
range-dual{"min":0,"max":1}0–1 · step 0.01

The Direct Effect API creates a separate row shown through Manage API Effects. Add a stable apiMacro_…_p or apiMacro_…_f ID when later macro calls need to update or stop the same row.

const created = await FXMASTER.api.effects.play({
particles: [{
"id": "apiMacro_wikirain_p",
"type": "rain",
"options": {
"topDown": true,
"splash": true,
"direction": 270,
"speed": 0.2,
"density": 0.4,
"backgroundEnabled": false
}
}],
});
await FXMASTER.api.effects.particles.stop(created.particles);

For complete API behavior, scene targeting, stack ordering, and toggle groups, see the Direct Effect API guide.