O'Reilly logo

Learning AWS Lumberyard Game Development by Dr. Edward Lavieri

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Playing Mother Nature

In order to create an immersive game experience for our players, we will add some environmental effects to make the world seem more real. In this section, we will add fog, shadows, and sunlight.

Adding fog

There are several things we can do with fog. We can add it to the entire world, certain areas, and just above water. We will use Global Fog using the Time of Day functionality.

Using the pull-down menus, select Terrain | Time of Day. This evokes the Time of Day editor:

  1. Under Time of Day Tasks, click the Toggle Advanced Properties link:

    Adding fog

  2. You will now see a host of settings listed under Parameters in the rightmost column. You can ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required