Version:

Changing the Time of Day

Changing the Time of Day

With the Time of Day editor, you can change the sun’s position in the sky and set day or night.

  1. Open the Time of Day editor by choosing Tools, Other, Time Of Day.

  2. At the bottom of the editor window is a section called Timeline.
    [Image NOT FOUND]

    Drag the handle to see the sun change positions and lighting.

    The default setting is 12:00 noon. In the following image the time is set to 6:00 a.m. In the image below that, the time is set to 3:00 p.m. Notice the differences in lighting.
    [Image NOT FOUND]
    [Image NOT FOUND]

  3. For this tutorial, you set the time to 4:30 p.m. To do this, under Time, for Current Time, specify 4:30 PM.

    This gives you a rosy sunset glow for your scene.
    [Image NOT FOUND]
    [Image NOT FOUND]

  4. Because you changed the time of day, you should re-render your environment probe map in keeping with best practices.

    To do this, in the Entity Outliner, select the EnvironmentProbe entity.
    [Image NOT FOUND]

  5. In the Entity Inspector on the Environment Probe component, under Cubemap Generation, next to Cubemap, click Generate.
    [Image NOT FOUND]

This ensures that your cubemap is rendered at the right time of day to get the best visual quality. Small hour to hour increments are not very noticeable in terms of visual differences that occur with cube maps. However, if you compare a 12:00 p.m. (noon) map with a 12:00 a.m. (midnight) map, you notice a significant change in the lighting.

[Image NOT FOUND]

Next: Creating a Light Source