# spot light, rectangle light functions not affecting fog

**URL:** <https://forums.unrealengine.com/t/spot-light-rectangle-light-functions-not-affecting-fog/455065>\
**Category:** Rendering\
**Tags:** Fog, light-function, unreal-engine, question\
**Created:** [September 9, 2019, 10:20am UTC](https://forums.unrealengine.com/t/spot-light-rectangle-light-functions-not-affecting-fog/455065 "2019-09-09T10:20:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hadijam](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hadijam](https://forums.unrealengine.com/u/hadijam)\
**Post date:** [September 9, 2019, 10:20am UTC](https://forums.unrealengine.com/t/spot-light-rectangle-light-functions-not-affecting-fog/455065/1 "2019-09-09T10:20:59Z")

</div>

Hello

I see that light function material doesn’t effect the exponential fog .  
is there any setting or material maybe that I need to tweak?

thank you in advance  
286784-  
][1]

---

<div class="post-metadata">

**Author:** ![BlueMind\_Studio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BlueMind\_Studio](https://forums.unrealengine.com/u/BlueMind_Studio)\
**Post date:** [September 10, 2019, 10:26am UTC](https://forums.unrealengine.com/t/spot-light-rectangle-light-functions-not-affecting-fog/455065/2 "2019-09-10T10:26:36Z")

</div>

Play with “Volumetric Scattering” of your light source. Also the Fog needs to have “Volumetric Fog” enabled.

---

<div class="post-metadata">

**Author:** ![hadijam](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hadijam](https://forums.unrealengine.com/u/hadijam)\
**Post date:** [September 10, 2019, 1:53pm UTC](https://forums.unrealengine.com/t/spot-light-rectangle-light-functions-not-affecting-fog/455065/3 "2019-09-10T13:53:45Z")

</div>

I did all of that.  
It is shown in the gif file above.  
but didn’t change anyting

---

<div class="post-metadata">

**Author:** ![StuffILike1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@StuffILike1](https://forums.unrealengine.com/u/StuffILike1)\
**Post date:** [July 29, 2024, 8:20pm UTC](https://forums.unrealengine.com/t/spot-light-rectangle-light-functions-not-affecting-fog/455065/4 "2024-07-29T20:20:30Z")

</div>

I can’t see your gif but I ran into a similar issue recently. Turns out I had “Fog Density” scaled way too high, and that was killing the light off before it reached my camera.
