Menu
Lumberyard
User Guide (Version 1.13)

Setting Dawn and Dusk Effects

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 Amazon Lumberyard Legacy Reference.

You can simulate the changing lighting effects that are caused by the sun moving across a dynamic sky. You can set sunrise time, duration of dawn, sunset time, duration of dusk, current time, and the path of the sun.

To set dawn and dusk effects

  1. In Lumberyard Editor, click Tools, Layer Editor.

  2. In the Layer Editor, select Terrain and Lighting.

  3. Close the Layer Editor.

  4. In Lumberyard Editor, click Tools, Other, Sun Trajectory Tool.

  5. In the Sun Trajectory Tool, set the following properties and parameter values as needed:

    Time of Day

    Sets the current time.

    Sun Direction

    Specifies the direction where the sun rises.

    Dawn Time

    Specifies the time the sun will rise.

    Dawn Duration

    Sets the transition duration of moon-to-sun lighting.

    Dusk Time

    Specifies the time the sun will set.

    Dusk Duration

    Sets the transition duration of sun-to-moon lighting.

    Force sky update

    If selected, updates the sky light calculations for each frame. If cleared, distributes calculations over several frames.

    Import

    Imports settings from a saved lighting file (.lgt).

    Export

    Exports current settings to a lighting file (.lgt).

    Terrain Occlusion

    Creates the effect of indirect lighting.

    Super Sampling

    Interpolates the pixels of indirect sampling data to eliminate hard transitions.