Adjusting the terrain lighting
Having learned how to set up a basic time of day parameter, the next step will be to adjust the level's lighting direction and dynamic characteristics using the Terrain Lighting dialog. This tool allows you to set the direction from which the sun rises as well as the distance your location is from the North Pole to the South Pole.
Getting ready
For this tutorial, you should have the forest level forest.cry
opened. This level was installed as a sample level upon the installation of the CryENGINE SDK.
How to do it...
We will now explore the terrain lighting dialog:
Open the terrain Lighting Tool by clicking the Terrain section of the main toolbar and then lighting.
Under the Sun Settings section there are two sliders. Adjust the first slider called Sun direction (map orientation) to the centre most point on the slider. This aligns the sun so that it rises in the east and sets in the west.
Note
North is assumed to be y+ in the cryENGINE.
Next, adjust the second slider...