# Any way to make volumetric fog not affect skysphere?

**URL:** <https://forums.unrealengine.com/t/any-way-to-make-volumetric-fog-not-affect-skysphere/694723>\
**Category:** Rendering\
**Tags:** Exponential-Height-Fog, UE4-24, unreal-engine, Lighting\
**Created:** [November 20, 2022, 12:21am UTC](https://forums.unrealengine.com/t/any-way-to-make-volumetric-fog-not-affect-skysphere/694723 "2022-11-20T00:21:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kligan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kligan/32/248910_2.png) [@Kligan](https://forums.unrealengine.com/u/Kligan)\
**Post date:** [November 20, 2022, 12:21am UTC](https://forums.unrealengine.com/t/any-way-to-make-volumetric-fog-not-affect-skysphere/694723/1 "2022-11-20T00:21:10Z")

</div>

I want to apply a HDRI to my sky sphere.  
However, regardless of how I tweak things around, I can’t seem to make it look good, because volumetric fog screws everything up.

This is how it looks like with the fog enabled:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/c/3/9c306d4aefa98bc287db17a8279de7fc80e76036.jpeg)

And this is with the fog disabled:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/f/6/1f62f821f8b4c70665566783db3c88b7297c5550.jpeg)

As you can see, I already adjusted cutoff distance and view distance of the fog. And fog density itself is very low.  
I need it to create a soft warm feel to my indoor scene and to add faint light shafts to the light coming through the windows.  
It is extremely frustrating, though, that it screws up the skybox!

I’m looking for an advice on how to fix this situation.

---

<div class="post-metadata">

**Author:** ![Arkiras](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arkiras/32/1008648_2.png) [@Arkiras](https://forums.unrealengine.com/u/Arkiras)\
**Post date:** [November 20, 2022, 5:11am UTC](https://forums.unrealengine.com/t/any-way-to-make-volumetric-fog-not-affect-skysphere/694723/2 "2022-11-20T05:11:55Z")

</div>

Set your skysphere material to translucent and disable “apply fogging”

---

<div class="post-metadata">

**Author:** ![Kligan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kligan/32/248910_2.png) [@Kligan](https://forums.unrealengine.com/u/Kligan)\
**Post date:** [November 20, 2022, 8:07am UTC](https://forums.unrealengine.com/t/any-way-to-make-volumetric-fog-not-affect-skysphere/694723/3 "2022-11-20T08:07:03Z")

</div>

Unfortunately, that didn’t work:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/5/3/1531036497cf835eede08f95b3a84d1f0a96867c.jpeg)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/5/5/c558dadb0a73267d88796e4399528c8895176fe2.jpeg)

---

<div class="post-metadata">

**Author:** ![Kligan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kligan/32/248910_2.png) [@Kligan](https://forums.unrealengine.com/u/Kligan)\
**Post date:** [November 20, 2022, 8:38am UTC](https://forums.unrealengine.com/t/any-way-to-make-volumetric-fog-not-affect-skysphere/694723/4 "2022-11-20T08:38:22Z")

</div>

Just to clarify, the solution @Arkiras suggests works on regular exponential height fog. But it has no effect if “volumetric fog” checkmark is enabled.

---

<div class="post-metadata">

**Author:** ![Kligan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kligan/32/248910_2.png) [@Kligan](https://forums.unrealengine.com/u/Kligan)\
**Post date:** [November 20, 2022, 10:56am UTC](https://forums.unrealengine.com/t/any-way-to-make-volumetric-fog-not-affect-skysphere/694723/5 "2022-11-20T10:56:59Z")

</div>

Ok, so… Unfortunately, I wasn’t able to find a solution.  
No matter what I tried, no matter how much I googled - nothing works.

So, instead I decided to go for the old fashioned “fake it til you make it” approach.  
I ditched volumetric fog altogether. Adjusted exponential fog, added some fake lightshafts as particle emitters, tweaked HDRI in photoshop to match the outside “fogginess” with the inside more or less, re-did the lighting and other small tweaks…

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/f/e/bfefccf7ba4517eac63e0288134e853b33919e53.jpeg)

Now I have a skybox that looks good.

P.S. A thing to note: do not do the “translucent skybox material” if you have windows in your scene. It will cause translucency sorting issues. Just regular “opaque unlit” is fine and adjust exponential fog cutoff distance.

---

<div class="post-metadata">

**Author:** ![Arkiras](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arkiras/32/1008648_2.png) [@Arkiras](https://forums.unrealengine.com/u/Arkiras)\
**Post date:** [November 20, 2022, 4:20pm UTC](https://forums.unrealengine.com/t/any-way-to-make-volumetric-fog-not-affect-skysphere/694723/6 "2022-11-20T16:20:21Z")

</div>

I’m thinking this must be a bug in UE4, because it definitely works in UE 5.1.

Left: Apply Fog turned Off  
Right: Apply Fog turned On

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/2/6/426dc393cf6daa3a35f3904c3f647f835fb318a4.jpeg)

> [@Kligan](#):
>
> P.S. A thing to note: do not do the “translucent skybox material” if you have windows in your scene. It will cause translucency sorting issues.

This really shouldnn’t be a problem since you can just set the sort priority of the skybox so that it renders behind everything.

Anyway, I’m glad you resolved it. Faking it is a better option in my opinion.
