# How do I set per-instance material parameters on instanced static meshes?

**URL:** <https://forums.unrealengine.com/t/how-do-i-set-per-instance-material-parameters-on-instanced-static-meshes/281511>\
**Category:** Rendering\
**Tags:** parameter, Instanced-Mesh, unreal-engine, static, question\
**Created:** [April 24, 2014, 9:10pm UTC](https://forums.unrealengine.com/t/how-do-i-set-per-instance-material-parameters-on-instanced-static-meshes/281511 "2014-04-24T21:10:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![zgit\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zgit\_1](https://forums.unrealengine.com/u/zgit_1)\
**Post date:** [April 24, 2014, 9:10pm UTC](https://forums.unrealengine.com/t/how-do-i-set-per-instance-material-parameters-on-instanced-static-meshes/281511/1 "2014-04-24T21:10:22Z")

</div>

Let’s say I wanna color each instance of a sphere a different color. Is there a way to do that? Note: I need to use instanced static meshes, NOT a bunch of static meshes with unique material instances.

I don’t see any node in the material editor that sounds like custom instance data.

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![zgit\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zgit\_1](https://forums.unrealengine.com/u/zgit_1)\
**Post date:** [May 1, 2014, 10:41pm UTC](https://forums.unrealengine.com/t/how-do-i-set-per-instance-material-parameters-on-instanced-static-meshes/281511/2 "2014-05-01T22:41:21Z")

</div>

According to someone at Epic, you can’t do this. Just thought I’d update this post for reference.

---

<div class="post-metadata">

**Author:** ![Hyperloop](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hyperloop/32/1203427_2.png) [@Hyperloop](https://forums.unrealengine.com/u/Hyperloop)\
**Post date:** [October 3, 2014, 4:40pm UTC](https://forums.unrealengine.com/t/how-do-i-set-per-instance-material-parameters-on-instanced-static-meshes/281511/3 "2014-10-03T16:40:11Z")

</div>

Do you happen to have a link to that info? I’d love to dig deeper into this.

---

<div class="post-metadata">

**Author:** ![EvikPu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EvikPu](https://forums.unrealengine.com/u/EvikPu)\
**Post date:** [October 8, 2022, 11:22am UTC](https://forums.unrealengine.com/t/how-do-i-set-per-instance-material-parameters-on-instanced-static-meshes/281511/4 "2022-10-08T11:22:30Z")

</div>

Hi, I know it’s an old post, but I ran into the similar problem. I believe this video can help you go around making logic to per-instance static meshes. I don’t know if you are dealing with foliage or some sort, but maybe it will help you guide through to add logic to individual instanced static meshes.

His name is Charlie and he does some great tutorials on landscape, materials, vfx, animations etc. Subscribe if you want to support him, his contents are great 🙂 :

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/0/e/40ed82fd814691bb5f4b28089c170e8c5fecc3d0.jpeg "Individual Foliage Logic in UE5 [Harvesting, Damage, Particles]") ](https://www.youtube.com/watch?v=6sjc4dqoCF0)

---

<div class="post-metadata">

**Author:** ![zompi2](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zompi2/32/937524_2.png) [@zompi2](https://forums.unrealengine.com/u/zompi2)\
**Post date:** [April 8, 2024, 1:52pm UTC](https://forums.unrealengine.com/t/how-do-i-set-per-instance-material-parameters-on-instanced-static-meshes/281511/5 "2024-04-08T13:52:07Z")

</div>

Digging out the old post, but here’s the exactly solution to the question:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/0/b/70b38c8e44e892e182a586d6a875bfb2a25813bc.jpeg "UE4 BP 1 - How To Set Material Parameters On Instanced Mesh Components - Unreal Engine Tutorial") ](https://www.youtube.com/watch?v=knO3R5g0s8s)
