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

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!

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

1 Like

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

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 :slight_smile: :

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

1 Like