# How to fade mesh over distance to save performance?

**URL:** <https://forums.unrealengine.com/t/how-to-fade-mesh-over-distance-to-save-performance/476540>\
**Category:** Rendering\
**Tags:** unreal-engine, fade, Rendering, UE4, question\
**Created:** [December 29, 2020, 3:40pm UTC](https://forums.unrealengine.com/t/how-to-fade-mesh-over-distance-to-save-performance/476540 "2020-12-29T15:40:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_d715e8711](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d715e8711](https://forums.unrealengine.com/u/anonymous_user_d715e8711)\
**Post date:** [December 29, 2020, 3:40pm UTC](https://forums.unrealengine.com/t/how-to-fade-mesh-over-distance-to-save-performance/476540/1 "2020-12-29T15:40:51Z")

</div>

Hello , How do i make meshes to appear once you get closer and disappear by being far , IN FADE to save performance ?

like meshes in that game in video

https://

---

<div class="post-metadata">

**Author:** ![Kehel18](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kehel18](https://forums.unrealengine.com/u/Kehel18)\
**Post date:** [December 29, 2020, 3:43pm UTC](https://forums.unrealengine.com/t/how-to-fade-mesh-over-distance-to-save-performance/476540/2 "2020-12-29T15:43:27Z")

</div>

Hi! Can you fix href of your example?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d715e8711](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d715e8711](https://forums.unrealengine.com/u/anonymous_user_d715e8711)\
**Post date:** [December 29, 2020, 4:16pm UTC](https://forums.unrealengine.com/t/how-to-fade-mesh-over-distance-to-save-performance/476540/3 "2020-12-29T16:16:47Z")

</div>

https://

---

<div class="post-metadata">

**Author:** ![ConradG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ConradG](https://forums.unrealengine.com/u/ConradG)\
**Post date:** [December 29, 2020, 6:22pm UTC](https://forums.unrealengine.com/t/how-to-fade-mesh-over-distance-to-save-performance/476540/4 "2020-12-29T18:22:26Z")

</div>

Hello, I think LOD dithering is what you’re after. Where the furthest LOD is empty.

---

<div class="post-metadata">

**Author:** ![Kehel18](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kehel18](https://forums.unrealengine.com/u/Kehel18)\
**Post date:** [December 30, 2020, 5:01pm UTC](https://forums.unrealengine.com/t/how-to-fade-mesh-over-distance-to-save-performance/476540/5 "2020-12-30T17:01:29Z")

</div>

Thanx!

As already mentioned by ConradG, Unreal use LODs to optimize performance of mesh actors rendering. You can configure them when importing models. Here is ref

> **[Creating and Using LODs](https://docs.unrealengine.com/4.27/en-US/WorkingWithContent/Types/StaticMeshes/HowTo/LODs/)**
>
> How To Create and Use LODs.

Are you sure that you also want to hide actors? if yes, then you can just use several things:

- get Player Camera Location
- Iterate through all mesh actors (you can use TActorIterator for that)
- for each Actor calculate distance and depending on that set visibility of Actor with Set Actor Hidden In Game
