# How to prevent fog from going underwater?

**URL:** <https://forums.unrealengine.com/t/how-to-prevent-fog-from-going-underwater/415240>\
**Category:** Rendering\
**Tags:** exponential-heightfo, blocking-volume, unreal-engine, volumetric-fog, question\
**Created:** [January 22, 2018, 1:23pm UTC](https://forums.unrealengine.com/t/how-to-prevent-fog-from-going-underwater/415240 "2018-01-22T13:23:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_91c926f3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_91c926f3](https://forums.unrealengine.com/u/anonymous_user_91c926f3)\
**Post date:** [January 22, 2018, 1:23pm UTC](https://forums.unrealengine.com/t/how-to-prevent-fog-from-going-underwater/415240/1 "2018-01-22T13:23:35Z")

</div>

Hi,

i am using exponential height fog in a scene and the fog also is inside the lake. How do i block the fog from there ?

 ![227937-fog.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/b/e/bbe1896f0b081ae222c2d875481fecf66c90a18c.jpeg)

---

<div class="post-metadata">

**Author:** ![Tee\_Kay](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tee\_Kay](https://forums.unrealengine.com/u/Tee_Kay)\
**Post date:** [June 23, 2018, 8:47pm UTC](https://forums.unrealengine.com/t/how-to-prevent-fog-from-going-underwater/415240/2 "2018-06-23T20:47:27Z")

</div>

Maybe this is too late but you should try Volumetric fog.  
You will find it in the fog’s Details panel. Check it and the fog will respect the lighting and exist only according to the lighting in the scene. That means, if you have a closed space, it will not have any fog. Iam guessing it will work well for the water too.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_91c926f3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_91c926f3](https://forums.unrealengine.com/u/anonymous_user_91c926f3)\
**Post date:** [July 15, 2018, 11:43pm UTC](https://forums.unrealengine.com/t/how-to-prevent-fog-from-going-underwater/415240/3 "2018-07-15T23:43:31Z")

</div>

Thanks for your answer, unfortunately i did abandon this project but i will take your answer to the next one 🙂
