Creating a global volumetric fog
In this recipe, you will interact with the HDR effects and learn to manipulate the global fog and other fog effects such as volumetric fog.
Getting ready
You should have Forest.cry
open in the Editor and have completed the Creating your first time of day using the basic parameters recipe earlier in this chapter.
How to do it...
As we will soon be adjusting the fog color, to be able to visualize it easier being multiplied on top of the haze created by the HDR sky, we must set its multiplier:
Open the Time Of Day dialog and ensure that the advanced time of day settings are displayed.
Set the FogColorMultiplier to 10, so that we can easily see our color changing.
Next, select a color for the fog.
Note
A good technique is to copy the color of the sun to warm the map or the color of the sky to cool it.
In the following final screenshot, I have used the sky color of RGB 150, 200, 210 for the fog.
Next, let's adjust the atmosphere height. This parameter defines the atmosphere...