Adding atmospheric visual effects
We will start this section by going through the process of adding fog to your scene.
Adding Fog
Fog in the world of 3D graphics is based on how fog appears to us in the real world. The most basic type of fog can be applied everywhere in the scene, but for this tutorial, I want to show you how to use a type of fog with a layered density, which is called Exponential Height Fog in UE5.
This is a type of fog that gets denser the closer it is to ground level, and gradually becomes less dense the further the fog is from ground level. This helps with the realism of the fog and also makes it look much more interesting.
You can read more about the individual settings inside Exponential Height Fog here: https://docs.unrealengine.com/5.0/en-US/exponential-height-fog-in-unreal-engine/.
Let's add Exponential Height Fog to your scene now:
- In the toolbar, click on the Create icon. Then, navigate to Visual Effects | Exponential Height...