Skip to content

Snowing ​

IMPORTANT

Status: Supported
Minimal version: IX-Ray Platform 1.3

Snowing dynamically applies snow to surfaces that fall under outdoor.
Enable it in engine_external.ltx by setting UseDynamicSnowMask to true:

ini
UseDynamicSnowMask = true

Disabling for Specific Locations ​

In level.ltx, add:

ini
[weather]
snowmask = false

Snowing: Dynamic objects ​

  • Create an additional texture mask with the suffix _snowmask. image

  • Sample mask image

  • Snow data is stored in the green channel of the texture imageimage

Setting the Mask Color ​

In engine_external.ltx, set the following under [shaders_options]:

hlsl
DYNAMIC_SNOW_COLOR = float3(1, 0, 0) ; Color in rgb from 0 to 1

Snowing: Static objects ​

  • Statics need no extra masks beyond textures/shaders/snowmask/snow.ddsimage

Published under the MIT license.