Skip to main content
Skip table of contents

FX File - Precipitation.fx

Token NameDefault ValueAccepted ValuesDescription

Token Source File

SNOW_SPEED18.0
Scales snow velocity.

Precipitation.fx

RAIN_SPEED70.0
Scales rain velocity.
RAIN_COLOR_SCALE-0.02
Controls rain color.
RAIN_COLOR_BIAS1.3
Controls rain color.
RAIN_ALPHA_SCALE0.35
Controls rain transparency.
RAIN_ALPHA_BIAS0.15
Controls rain transparency.
NUM_PARTICLES10000
Maximum number of precipitation particles.
MIN_PARTICLES4000
Minimum number of precipitation particles.
GLOBAL_SPEED_FACTOR2.4
Scales precipitation velocity.
SNOW_ALPHA0.6
Controls snow transparency.
MIN_SNOW_SIZE3.0
Smallest snowflake size.
MAX_SNOW_SIZE25.0
Largest snowflake size.
CUBE_WIDTH400.0
Specifies how large of a region around the ownship has precipitation.
FADE_BAND_THICKNESS75.0
Controls the size of the fade band.
RAIN_LENGTH3.0f
Controls the length of a raindrop.
RANDOM_SEED17835510
Seeds the random number generator used to place precipitation.
SNOW_TEXTURESYSTX_STAR
Name of the snow texture.
RAIN_WIND_FACTOR2.0
Controls how wind affects rain.
SNOW_WIND_FACTOR1.0
Controls how wind affects snow.
OWNSHIP_VELOCITY_FILTER0.1

At 1.0, there is no filtering of velocity across frames.

Smaller values mean more smoothing / filtering.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.