# 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:** 1\
**Showing post:** 7

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

---

_[View the full topic](https://forums.unrealengine.com/t/no-shadows-on-volumetric-fog/572803)._
