# Making only certain static meshes using a material fade (rather than all meshes with that material)

**URL:** <https://forums.unrealengine.com/t/making-only-certain-static-meshes-using-a-material-fade-rather-than-all-meshes-with-that-material/450608>\
**Category:** Rendering\
**Tags:** opacity, unreal-engine, fade, question\
**Created:** [June 13, 2019, 8:57am UTC](https://forums.unrealengine.com/t/making-only-certain-static-meshes-using-a-material-fade-rather-than-all-meshes-with-that-material/450608 "2019-06-13T08:57:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew\_Lindsay](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Andrew\_Lindsay](https://forums.unrealengine.com/u/Andrew_Lindsay)\
**Post date:** [June 13, 2019, 8:57am UTC](https://forums.unrealengine.com/t/making-only-certain-static-meshes-using-a-material-fade-rather-than-all-meshes-with-that-material/450608/1 "2019-06-13T08:57:00Z")

</div>

Hello! I’ve been banging my head against the wall with this one and was hoping someone might be able to help me. Basically what I’m hoping to achieve is fading out specific static meshes when a certain condition has been met in the game (the player entering a trigger volume). All of my meshes use the same single material, but I want to make only certain instances of the static mesh fade. The fade is achieved by manipulating the opacity scalar parameter. Maybe there’s a better approach, but I have been assigning different material instances to the objects in my scene, in the hope that this would allow me to independently manipulate the same scalar opacity parameter within different instances, but I’m not having much luck. Any guidance would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_11ffaa72](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_11ffaa72](https://forums.unrealengine.com/u/anonymous_user_11ffaa72)\
**Post date:** [June 13, 2019, 9:39am UTC](https://forums.unrealengine.com/t/making-only-certain-static-meshes-using-a-material-fade-rather-than-all-meshes-with-that-material/450608/2 "2019-06-13T09:39:21Z")

</div>

Sounds like you need to use Material Instance Dynamic (MID). You can read about them here:

> **[Instanced Materials](https://docs.unrealengine.com/5.2/en-US/instanced-materials-in-unreal-engine/)**
>
> Hierarchical Material relationships that you to alter behavior and appearance of child Materials without shader recompilation.

---

<div class="post-metadata">

**Author:** ![Andrew\_Lindsay](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Andrew\_Lindsay](https://forums.unrealengine.com/u/Andrew_Lindsay)\
**Post date:** [June 13, 2019, 12:38pm UTC](https://forums.unrealengine.com/t/making-only-certain-static-meshes-using-a-material-fade-rather-than-all-meshes-with-that-material/450608/3 "2019-06-13T12:38:07Z")

</div>

Thanks a lot, I’ve managed it now using MID 😃

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_11ffaa72](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_11ffaa72](https://forums.unrealengine.com/u/anonymous_user_11ffaa72)\
**Post date:** [June 13, 2019, 1:09pm UTC](https://forums.unrealengine.com/t/making-only-certain-static-meshes-using-a-material-fade-rather-than-all-meshes-with-that-material/450608/4 "2019-06-13T13:09:23Z")

</div>

You’re welcome!  
If my answer resolved your question, it’s a good idea to mark it as resolved/accepted. That way, I get karma and others looking for unresolved questions will have an easier time finding one.
