# Why Exponential Height Fog not working when using VR Template?

**URL:** <https://forums.unrealengine.com/t/why-exponential-height-fog-not-working-when-using-vr-template/558546>\
**Category:** Getting Started & Setup\
**Tags:** exponential-heightfo, unreal-engine, UE5-0, question\
**Created:** [May 16, 2022, 3:45pm UTC](https://forums.unrealengine.com/t/why-exponential-height-fog-not-working-when-using-vr-template/558546 "2022-05-16T15:45:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![S-ed](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/s-ed/32/1194558_2.png) [@S-ed](https://forums.unrealengine.com/u/S-ed)\
**Post date:** [May 16, 2022, 10:49pm UTC](https://forums.unrealengine.com/t/why-exponential-height-fog-not-working-when-using-vr-template/558546/2 "2022-05-16T22:49:24Z")

</div>

> [@Beysir](#):
>
> ExponentialHeightFog

VR template uses Forward shading.  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/8/3/683e7b2b05ffff07856cebb8043a112767b4db12.png)

You can read more on Height Fog in Forward shading here:

> [@Volumetric lighting not working properly in forward rendering](https://forums.unrealengine.com/t/volumetric-lighting-not-working-properly-in-forward-rendering/416062):
>
> build 4.18.3 i have a test map which only has one static mesh in it about the size of a small office building. if i use the deferred renderer, the volumetric lighting works properly. When i change the renderer over to be FORWARD, close and restart and recompile the map again, the volumetric lighting now looks broken : it’s now drawing the fog as vertex coloring and as you move or look around, different vertices enter and exit the screen and so you can see the fake fog colors dancing around fr…

---

_[View the full topic](https://forums.unrealengine.com/t/why-exponential-height-fog-not-working-when-using-vr-template/558546)._
