Console Variables for Fog - Lumberyard User Guide

Console Variables for Fog

Open 3D Engine (O3DE), the successor to Lumberyard, is now available in Developer Preview. Download O3DE or visit the AWS Game Tech blog to learn more.

The following console variables can be used to control fog. For more information, see Using the Console Window.

Console Variable Description

Toggles fog on and off.


Enables local height/distance based fog volumes.


Enables tiled fog volume density injection.


Enables per-pixel culling for deferred fog pass. Fog computations for all pixels closer than a given depth value will be skipped.

0 = culling disabled.

> 0 = fixed linear world space culling depth

< 0 = optimal culling depth will be computed automatically based on camera direction and fog settings.


Enabled deferred volumetric fog shadows.

0 = No shadows

1 = Standard resolution

2 = Reduced resolution.


Raycasting mode for shadowed fog.

0 = Brute force shadow map sampling

1 = Optimized shadow map sampling


Enables volumetric fog shadows over water volumes.