# How to make the exponential height fog ignore a static mesh?

**URL:** <https://forums.unrealengine.com/t/how-to-make-the-exponential-height-fog-ignore-a-static-mesh/632047>\
**Category:** Rendering\
**Tags:** Exponential-Height-Fog, unreal-engine, UE5-0, question\
**Created:** [August 20, 2022, 8:52pm UTC](https://forums.unrealengine.com/t/how-to-make-the-exponential-height-fog-ignore-a-static-mesh/632047 "2022-08-20T20:52:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Faze\_Kaas](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Faze\_Kaas](https://forums.unrealengine.com/u/Faze_Kaas)\
**Post date:** [August 20, 2022, 8:52pm UTC](https://forums.unrealengine.com/t/how-to-make-the-exponential-height-fog-ignore-a-static-mesh/632047/1 "2022-08-20T20:52:31Z")

</div>

Hey everyone, I had a question about the exponential height fog,

Here you can see that the moon dissapears (You can barely see it) when I increase the fog, is there anyway to make the fog ignore the moon?  
It is a static mesh

 ![Screenshot (74431)](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/4/0/6402a70bc6e21f2e754bca126b579131170d7fc8.jpeg)  
 ![Screenshot (74432)](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/b/9/ab95a3454cfe70230d25e6f106811f0d52036e52.jpeg)

Thanks

---

<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:** [August 20, 2022, 11:54pm UTC](https://forums.unrealengine.com/t/how-to-make-the-exponential-height-fog-ignore-a-static-mesh/632047/2 "2022-08-20T23:54:00Z")

</div>

There’s a checkbox in the material editor for applying fogging to the material, I’d try that.

May only work for translucent materials… can’t remember.

---

<div class="post-metadata">

**Author:** ![Faze\_Kaas](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Faze\_Kaas](https://forums.unrealengine.com/u/Faze_Kaas)\
**Post date:** [August 21, 2022, 12:11am UTC](https://forums.unrealengine.com/t/how-to-make-the-exponential-height-fog-ignore-a-static-mesh/632047/3 "2022-08-21T00:11:59Z")

</div>

Hey, yeah that is only for translucent materials, which mine isnt ☹

---

<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:** [August 21, 2022, 12:13am UTC](https://forums.unrealengine.com/t/how-to-make-the-exponential-height-fog-ignore-a-static-mesh/632047/4 "2022-08-21T00:13:49Z")

</div>

I mean… it’s just a moon, you could pretty easily make it a translucent material and it wouldn’t make much difference, especially since it just looks emissive anyway

---

<div class="post-metadata">

**Author:** ![Faze\_Kaas](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Faze\_Kaas](https://forums.unrealengine.com/u/Faze_Kaas)\
**Post date:** [August 21, 2022, 1:12pm UTC](https://forums.unrealengine.com/t/how-to-make-the-exponential-height-fog-ignore-a-static-mesh/632047/5 "2022-08-21T13:12:07Z")

</div>

Yeah fair enough, but it would be good to know anyways if it is possible
