Version:

Snow Gem

Snow Gem


This topic references tools and features that are legacy . If you want to use legacy tools in Lumberyard Editor, disable the CryEntity Removal gem using the Project Configurator or the command line . To learn more about legacy features, see the Lumberyard Legacy Reference .

The Snow Gem creates realistic snow effects in your levels, including snowflake and surface effects, such as snow buildup. To enable the Snow Gem in your project, see Add modular features and assets with Gems.

Note
Place only a single Snow entity in your scene.

[Image NOT FOUND]

Placing Snow

You can place your snow and customize it to your level by modifying properties for brightness, gravity, size and quantity of snow flakes, how much snow and frost builds on a surface, and more.

To add snow to your level

  1. In the Rollup Bar, click Entity.

  2. Under Browser, expand Environment.

  3. Drag the Snow entity into your scene.

Configuring Snow

You can configure the snow’s properties under https://docs.aws.amazon.com/lumberyard/latest/legacyreference/entities-params-entity-params.html and Entity Properties.

Snow Entity Properties

PropertiesDescription
EnabledEnables snow effect
RadiusSets the area on which snow falls
SnowFall
BrightnessSets the brightness of the snow effect
GravityScaleSets the gravity strength, which determines the rate at which snow falls
SnowFlakeCountSets the quantity of snowflakes
SnowFlakeSizeSets size of individual snowflakes
TurbulenceFreqSets the frequency of the turbulence affecting the snow
TurbulenceStrengthSets the strength of the turbulence affecting the snow
WindScaleDetermines the impact of wind on the falling snow
Surface
FrostAmountSets the amount of frost on a surface
SnowAmountSets the amount of snow on a surface
SurfaceFreezingSets the degree to which surfaces appear frozen

Using Console Variables for Snow

You can use the following console variables console variables for the snow entity.

Snow Entity Console Variables

VariableDescription
r_SnowEnables snow rendering
r_SnowDisplacementEnables displacement for snow accumulation
r_SnowFlakeClustersNumber of snow flake clusters
r_SnowHalfResWhen enabled, renders snow at half resolution to conserve fill rate

Using the Snow Sample

The Snow Sample uses the Snow and Clouds gems to demonstrate how to use the Snow entity as an environment special effects in a level. The Snow entity shows how snow falls and provides properties that you can set to randomly change the snow fall over time, creating a more dynamic weather experience.

[Image NOT FOUND]