# 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:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Beysir](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Beysir](https://forums.unrealengine.com/u/Beysir)\
**Post date:** [May 16, 2022, 3:45pm UTC](https://forums.unrealengine.com/t/why-exponential-height-fog-not-working-when-using-vr-template/558546/1 "2022-05-16T15:45:31Z")

</div>

Hello guys !

I have noticed that I can’t use ExponentialHeightFog when I create a new level after having selected the “VR Template” , but it is correctly working when I Start with a Blank Template.

Any ideas why ?

 ![BlankTempalte.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/0/6/20654867733fdb77091e9fa11187fcc32f4064f0.jpeg)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/3/7/d37d3653970d8c5b56e27d60cfb5a2d7f101c122.jpeg)

Thank you

---

<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…

---

<div class="post-metadata">

**Author:** ![tioakbar10](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tioakbar10](https://forums.unrealengine.com/u/tioakbar10)\
**Post date:** [June 24, 2022, 7:05am UTC](https://forums.unrealengine.com/t/why-exponential-height-fog-not-working-when-using-vr-template/558546/3 "2022-06-24T07:05:44Z")

</div>

what is the solution please

---

<div class="post-metadata">

**Author:** ![Beysir](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Beysir](https://forums.unrealengine.com/u/Beysir)\
**Post date:** [June 24, 2022, 9:42am UTC](https://forums.unrealengine.com/t/why-exponential-height-fog-not-working-when-using-vr-template/558546/4 "2022-06-24T09:42:51Z")

</div>

On my side I am just not using the VR template anymore, I started from Blank template and implement all VR features I need inside. No more problem with exponential fog.
