# No shadows on volumetric fog

**URL:** <https://forums.unrealengine.com/t/no-shadows-on-volumetric-fog/572803>\
**Category:** Rendering\
**Tags:** Shadows, unreal-engine, UE5-0, lighting-problem, Lighting, question\
**Created:** [June 2, 2022, 10:36pm UTC](https://forums.unrealengine.com/t/no-shadows-on-volumetric-fog/572803 "2022-06-02T22:36:54Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Betaraptor01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Betaraptor01](https://forums.unrealengine.com/u/Betaraptor01)\
**Post date:** [June 2, 2022, 10:36pm UTC](https://forums.unrealengine.com/t/no-shadows-on-volumetric-fog/572803/1 "2022-06-02T22:36:54Z")

</div>

Greetings, I’m trying to use volumetric fog, but when I add a light (any, spot or sunlight) objects are not affecting shadows on the fog:

 ![LightVolumetrics](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/f/3/6f369231fc53eb48b7f4935e15f2fc6adbf3b868.jpeg)  
As you can see, the cube (goes all the way back through the entire cone of the light) does cast shadow on the ground, but the volumetric fog still gets lit.  
I tried following:  
Enabling volumetric shadow (and almost any and all other checkboxes in the spotlight)  
Toying around with scattering and extinction of the fog as well scattering of the spotlight  
Building level  
Enabling or disabling ray traced shadows and distance shadows

Sadly nothing worked and I’m really desperate by now, since this makes volumetric fog nearly unusable for scenes like forest, where you can see light illuminating fog through the trees.

---

<div class="post-metadata">

**Author:** ![alberto](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/alberto/32/1194695_2.png) [@alberto](https://forums.unrealengine.com/u/alberto)\
**Post date:** [June 2, 2022, 10:58pm UTC](https://forums.unrealengine.com/t/no-shadows-on-volumetric-fog/572803/2 "2022-06-02T22:58:01Z")

</div>

are you using a cube or a box brush?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/5/a/05a617ef6cdd689a569a08128126f02911290e9e.jpeg)

---

<div class="post-metadata">

**Author:** ![Betaraptor01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Betaraptor01](https://forums.unrealengine.com/u/Betaraptor01)\
**Post date:** [June 2, 2022, 11:15pm UTC](https://forums.unrealengine.com/t/no-shadows-on-volumetric-fog/572803/3 "2022-06-02T23:15:20Z")

</div>

I’m using basic cube mesh, however my issue is not that there isn’t any shadow projected on the ground, there is, the issue is that the volumetric fog is being lit under the box, even though it shouldn’t be. You can see in the screenshot that the cone of light is coming straight through it, instead of being blocked by the box.

---

<div class="post-metadata">

**Author:** ![alberto](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/alberto/32/1194695_2.png) [@alberto](https://forums.unrealengine.com/u/alberto)\
**Post date:** [June 2, 2022, 11:54pm UTC](https://forums.unrealengine.com/t/no-shadows-on-volumetric-fog/572803/4 "2022-06-02T23:54:35Z")

</div>

![light](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/e/5/be51f0a3835ba3ca942e2f91cd57d035b7635819.gif)

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

---

<div class="post-metadata">

**Author:** ![Betaraptor01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Betaraptor01](https://forums.unrealengine.com/u/Betaraptor01)\
**Post date:** [June 3, 2022, 12:05am UTC](https://forums.unrealengine.com/t/no-shadows-on-volumetric-fog/572803/5 "2022-06-03T00:05:14Z")

</div>

I don’t think we understand each other, so here is a better example:  
I have a solid wall with spotlight shining directly at it:

 ![LightVolumetrics1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/2/f/a2f4fc2a3b65069ed4bc0c8dbc49bf32afa48e63.jpeg)

However, on the other side of the wall, light keeps being projected, illuminating the fog as if the wall wasn’t there:

 ![LightVolumetrics2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/0/5/50558d88daa94688d4349b9769f2ad6bae557f3d.jpeg)

---

<div class="post-metadata">

**Author:** ![alberto](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/alberto/32/1194695_2.png) [@alberto](https://forums.unrealengine.com/u/alberto)\
**Post date:** [June 3, 2022, 12:15am UTC](https://forums.unrealengine.com/t/no-shadows-on-volumetric-fog/572803/6 "2022-06-03T00:15:31Z")

</div>

Sorry perhaps I don’t understand you, and is late for me, then what is wrong with my picture:  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/9/3/c93646414a818d46de1fd2e0cfa90243ff4311b3.jpeg)

Rays are not going to stop of course, unless you block the whole light to the observer…

Like under the cube…

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/a/b/0abec8cb1acae2e2dedf54eedab6b418418edb48.jpeg)

When I doubt I look for real images with a similar scene, hope it helps you…

---

<div class="post-metadata">

**Author:** ![Betaraptor01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Betaraptor01](https://forums.unrealengine.com/u/Betaraptor01)\
**Post date:** [June 3, 2022, 6:25am UTC](https://forums.unrealengine.com/t/no-shadows-on-volumetric-fog/572803/7 "2022-06-03T06:25:58Z")

</div>

Your light is already hitting the edge of the cube, so the issue is barely visible:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/a/4/1a401185c790fc19cc0eb4db00028f14bb2ca56b.jpeg)  
The fog inside the blue rectangle shouldn’t be illuminated, because it’s in the shadow of the cube.  
Try to recreate my second example, one spotlight, one wall mesh, exponential height fog → volumetric fog, nothing else. if you shine the light directly at the wall, the cone of light will be visible behind that wall, as if passing straight through:  
 ![LightVolumetrics3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/e/2/4e2ea3d0f3696d2c92fe569f6db32bd8e7fa3106.jpeg)  
The red square should be completely black, because the wall should block the light.

---

<div class="post-metadata">

**Author:** ![Betaraptor01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Betaraptor01](https://forums.unrealengine.com/u/Betaraptor01)\
**Post date:** [June 3, 2022, 7:31am UTC](https://forums.unrealengine.com/t/no-shadows-on-volumetric-fog/572803/8 "2022-06-03T07:31:21Z")

</div>

Okay, I finally figured it out, for anyone who comes after us, light has to be set to movable and not casting ray traced shadows.

---

<div class="post-metadata">

**Author:** ![alberto](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/alberto/32/1194695_2.png) [@alberto](https://forums.unrealengine.com/u/alberto)\
**Post date:** [June 6, 2022, 11:59pm UTC](https://forums.unrealengine.com/t/no-shadows-on-volumetric-fog/572803/9 "2022-06-06T23:59:49Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/d/5/fd5221f40c967e2875f5cc54e1f8bd9fb0894336.jpeg)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/2/5/92505083f591fdf0f86b29dfd2649c10563a7ffe.png)

🤷

---

<div class="post-metadata">

**Author:** ![alberto](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/alberto/32/1194695_2.png) [@alberto](https://forums.unrealengine.com/u/alberto)\
**Post date:** [June 12, 2022, 12:27am UTC](https://forums.unrealengine.com/t/no-shadows-on-volumetric-fog/572803/10 "2022-06-12T00:27:43Z")

</div>

> [@Betaraptor01](#):
>
> Okay, I finally figured it out, for anyone who comes after us, light has to be set to movable and not casting ray traced shadows.

ok also it can happens because using Raytracing because…

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/c/c/dccdb881bf90aba4ae3499d202ef36afdfaba629.jpeg)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/6/e/06e9113211221d3e2ffb1381c221ddf46ff72388.jpeg)

And take a look in the light to the Volumetric Inscatering Intensity…

---

<div class="post-metadata">

**Author:** ![neochrome32](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/neochrome32/32/997950_2.png) [@neochrome32](https://forums.unrealengine.com/u/neochrome32)\
**Post date:** [September 20, 2024, 2:29am UTC](https://forums.unrealengine.com/t/no-shadows-on-volumetric-fog/572803/11 "2024-09-20T02:29:03Z")

</div>

I was having the same problem i think, but i figured out  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/e/1/7e1dc1fca240b9faae72785cd8305814e6fb019a.png)

Have a look at cast volume shadow and you need to have scattering too

the result was this…

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/c/0/bc034c13b68e4be7227e243e1f3b7cd10259853c.jpeg)

---

<div class="post-metadata">

**Author:** ![BjornToulouse](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bjorntoulouse/32/88710_2.png) [@BjornToulouse](https://forums.unrealengine.com/u/BjornToulouse)\
**Post date:** [August 6, 2025, 8:45am UTC](https://forums.unrealengine.com/t/no-shadows-on-volumetric-fog/572803/12 "2025-08-06T08:45:31Z")

</div>

I’m experiencing extremely inconsistent volumetric fog shadows in ue5.5. Sometimes it works, some times it doesn’t work. For example if you untick Inverse Squared Falloff and then tick it again, everything can break. Sometimes i have the perfect godrays and then i open up the project again and they are gone. Sometimes cast ray traced shadows works when you select ‘enabled’ sometimes when you select ‘disabled’. Then it stops working altogther.
