Setting Global (Time of Day) Fog - Lumberyard User Guide

Setting Global (Time of Day) 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.

You can use global fog to simulate particles that are distributed uniformly along the ground and fall off exponentially with height above sea level. Global fog accurately accounts for time of day lighting and for scattered sunlight rays to produce haze at the horizon and halos around the sun. You can also use this effect to cast shadows for objects and clouds through the fog.

To set global fog parameters

  1. In Lumberyard Editor, choose Tools, Other, Time Of Day.

  2. In the Parameters pane, for Fog, adjust the Fog Parameters as needed.

  3. Close the Time of Day editor.