Volumetric Fog - Lumberyard User Guide

Volumetric 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.

Volumetric fog uses volume textures as a view-frustum-shaped voxel buffer to store incoming light and its properties. Volumetric fog supports regular light and sunlight with dynamic shadows, environment probes, ambient light, as well as variations in fog density. It also supports the application of volumetric fog with respect to opaque and transparent materials.


In the following example, volumetric fog is disabled.

                Volumetric fog disabled


In the following example, volumetric fog is enabled.

                Volumetric fog enabled

You can add the Fog Volume component to an entity to create fog effects. For more information, see the Fog Volume component.

You can specify how light components affect volumetric fog. For more information, see Light Component Fog Properties.

You can also use the Particle Editor to place a particle emitter in your level to add fog density to an area. For more information, see the Volume Fog and Volume Thickness parameters for the Advanced Attribute in the Particles Attributes Reference.

To add localized nonvolumetric regions of fog, see Using Fog Volumes.