# How to set Render mesh material in niagara at runtime?

**URL:** <https://forums.unrealengine.com/t/how-to-set-render-mesh-material-in-niagara-at-runtime/153302>\
**Category:** FX\
**Tags:** unreal-engine\
**Created:** [November 7, 2020, 10:01pm UTC](https://forums.unrealengine.com/t/how-to-set-render-mesh-material-in-niagara-at-runtime/153302 "2020-11-07T22:01:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![exxecutioner](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@exxecutioner](https://forums.unrealengine.com/u/exxecutioner)\
**Post date:** [November 7, 2020, 10:01pm UTC](https://forums.unrealengine.com/t/how-to-set-render-mesh-material-in-niagara-at-runtime/153302/1 "2020-11-07T22:01:06Z")

</div>

I want to set the material on my render mesh at runtime, but can’t seem to figure out how. Not sure how to bind a variable to this input, the User param binding doesn’t show any option in the dropdown ( [Imgur: The magic of the Internet](https://imgur.com/a/051PtKa) ) so the “Set Niagara Variable” node doesn’t work (I set the variable name to Particles.DynamicMaterialParameter in the node, but since that variable isn’t bound to anything I doubt that works). I even tried to use the Set Material node with material index 0, but that doesn’t work either. Any ideas how to go about this? Thanks!

---

<div class="post-metadata">

**Author:** ![exxecutioner](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@exxecutioner](https://forums.unrealengine.com/u/exxecutioner)\
**Post date:** [November 8, 2020, 7:55pm UTC](https://forums.unrealengine.com/t/how-to-set-render-mesh-material-in-niagara-at-runtime/153302/2 "2020-11-08T19:55:02Z")

</div>

Bumping once… still looking for answers. anyone ?

---

<div class="post-metadata">

**Author:** ![nooSens](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nooSens](https://forums.unrealengine.com/u/nooSens)\
**Post date:** [December 20, 2021, 9:15am UTC](https://forums.unrealengine.com/t/how-to-set-render-mesh-material-in-niagara-at-runtime/153302/3 "2021-12-20T09:15:39Z")

</div>

Bump.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [January 8, 2022, 10:09am UTC](https://forums.unrealengine.com/t/how-to-set-render-mesh-material-in-niagara-at-runtime/153302/4 "2022-01-08T10:09:30Z")

</div>

As far as I can tell, it doesn’t work… 🤔

---

<div class="post-metadata">

**Author:** ![Cghow](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cghow/32/1212725_2.png) [@Cghow](https://forums.unrealengine.com/u/Cghow)\
**Post date:** [August 28, 2024, 1:51pm UTC](https://forums.unrealengine.com/t/how-to-set-render-mesh-material-in-niagara-at-runtime/153302/5 "2024-08-28T13:51:58Z")

</div>

create a user parameter of material interface link it with mesh rendered maerial user param binding then you can change material in runtime useing that parameter.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/4/f/e4f5cf20eaf35b7d4f3ebfec45ce370fbaa2c8b6.jpeg)

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/d/a/dda728a3a55b3b558b1bb6292ae4e623e2137f0e.jpeg "Change Material in Runtime in Unreal Engine 5.4 Niagara Tutorial") ](https://www.youtube.com/watch?v=Tz8YsDL9j5I)

 ![change_material](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/9/4/494677ddf318f4af4aeb2f28bd53d956beec5aa8.jpeg)
