Skip to content

Duststorm

Environmental reference
FXMaster+Filter effectAPI type: duststorm
Preview shows Duststorm and Sandstorm enabled together

Canvas-locked dust shader with directional flow, turbulence, streaks, and tinting.

Environmental filters change the Scene surface or atmosphere. They can cover the full Scene, be limited to Regions, and be moved within the effect stack.

Reference Value
Package FXMaster+
Effect kind Filter effect
Category Environmental
Runtime type duststorm
Exposed parameters 34
  • Direction: Sets the base travel direction of the dust filter.
  • Direction Randomization: Randomly shifts the effect direction over time. At 1, the direction can randomize anywhere around the full compass.
  • Density: Controls how much airborne dust is visible across the canvas.
  • Streakiness: Controls how strongly the dust resolves into long directional streaks instead of a softer haze.
  • Background: Render a persistent settled-sand surface behind the sandstorm. The surface follows the effect’s stack placement, scene or Region mask, Levels selection, and below-token/tile settings.
  • Token Trails: Let visible tokens press darker, lower trails into accumulated sand as they move.
  • Within an enabled Duststorm effect, the airborne dust and persistent sand Background can be toggled and configured separately. Disabling Duststorm disables both.
  • Direction Randomization controls variation around the base Direction; Time Between Direction Changes controls how often a new target is selected.
  • Streakiness and Opacity define the airborne filter, while the Background controls define persistent sand coverage.
  • Use Token Trails and trail refill to make token movement visibly disturb the surface.
Preset API name Availability Variants
Ashfall ashfall FXMaster+ Normal, Top Down
Dust Devil dust-devil FXMaster+ Normal
Hurricane hurricane FXMaster+ Normal, Top Down
Luminous Sky luminous-sky FXMaster+ Normal
Sandstorm sandstorm FXMaster+ Normal
Tornado tornado FXMaster+ Normal

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.

34 exposed parameters1 Scene-only1 Region-onlyduststorm 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
checkboxOnAlways
Below Tiles
belowTiles
checkboxOffAlways
Below Foreground
belowForeground
checkboxOffAlways
Levels
levelsScene only
scene-levelsAll LevelsAlways
Tint
color
color#b38b5a (enabled)Always
Sound FX
soundFxEnabled
checkboxOffAlways
Sound FX Sounds
soundFxManualSoundIds
multi-selectRule default
Scale
dimensions
range0.240–1 · step 0.01Always
Speed
speed
range0.20–1 · step 0.01Always
Density
density
range0.550–1 · step 0.05Always
Direction Randomization
directionRandomization
range00–1 · step 0.01Always
Direction Change Radius
directionRandomizationRadius
range10–1 · step 0.01
Time Between Direction Changes
directionChangeTime
range81–60 · step 0.5
Streakiness
streakiness
range0.150–1 · step 0.05Always
Opacity
opacity
range10–1 · step 0.05Always
Direction
direction
range00–360 · step 5Always
Background
backgroundEnabled
checkboxOffAlways
Background Fill
backgroundMode
selectaccumulateFull Coverage, Fill Over Time
Time to Full Coverage
backgroundDuration
range18010–3600 · step 10
Background Opacity
backgroundOpacity
range0.760–1 · step 0.01
Fill Variation
backgroundFillVariation
range0.750–1 · step 0.05
Dune Height
backgroundDriftStrength
range0.620–1 · step 0.01
Dune Size (Grid Spaces)
backgroundDriftScale
range0.380.1–1 · step 0.01
Sand Grit
backgroundSandRippleStrength
range0.450–1 · step 0.05
Dune Migration
backgroundMigrationEnabled
checkboxOff
Migration Speed (Grid Spaces/Minute)
backgroundMigrationSpeed
range0.060.01–1 · step 0.01
Token Trails
backgroundTrailsEnabled
checkboxOff
Refill Trails Over Time
backgroundTrailRefillEnabled
checkboxOff
Trail Refill Time
backgroundTrailRefillDuration
range9010–3600 · step 10
Trail Width
backgroundTrailWidth
range0.50–2 · step 0.05
Trail Strength
backgroundTrailStrength
range0.720–1 · step 0.01
Darkness Activation
darknessActivationEnabled
checkboxOffAlways
Darkness Activation Range
darknessActivationRange
range-dual{"min":0,"max":1}0–1 · step 0.01
Edge Fade %
fadePercentRegion only
range00–1 · step 0.01Always

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({
filters: [{
"id": "apiMacro_wikiduststorm_f",
"type": "duststorm",
"options": {
"belowTokens": true,
"color": {
"value": "#b38b5a",
"apply": true
},
"speed": 0.2,
"direction": 0,
"density": 0.55
}
}],
});
await FXMASTER.api.effects.filters.stop(created.filters);

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