# Why does my dynamic material instance only affect one particle system in a Cascade setup?

**URL:** <https://forums.unrealengine.com/t/why-does-my-dynamic-material-instance-only-affect-one-particle-system-in-a-cascade-setup/282560>\
**Category:** Rendering\
**Tags:** instance, unreal-engine, particle, dynamic, question\
**Created:** [May 5, 2014, 1:32pm UTC](https://forums.unrealengine.com/t/why-does-my-dynamic-material-instance-only-affect-one-particle-system-in-a-cascade-setup/282560 "2014-05-05T13:32:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![scrcro](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/scrcro/32/1008648_2.png) [@scrcro](https://forums.unrealengine.com/u/scrcro)\
**Post date:** [May 5, 2014, 1:32pm UTC](https://forums.unrealengine.com/t/why-does-my-dynamic-material-instance-only-affect-one-particle-system-in-a-cascade-setup/282560/1 "2014-05-05T13:32:15Z")

</div>

I have a Cascade setup, with two emitters inside of it.

This setup is inside a blueprint, by itself. Here is the construction graph:

![5619-construction_graph.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/5/c/75cfda701f677e8c7b8da2805f4ac46abcdad705.png)

Here is the section of the level blueprint which changes the dynamic material:

![5620-level_bp.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/f/e/cfe2d26dcb6f3ec96a458c77e915304625e5f5a9.png)

Here is what happens in engine:

[http://puu.sh/8Ab10.png](http://puu.sh/8Ab10.png)

If I manually set the scalar value which switches the colour in the shader, it displays the colours on the particles correctly. But through the blueprint, and in the game, it only changes one out of the two emiiters.

Any ideas?

---

<div class="post-metadata">

**Author:** ![scrcro](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/scrcro/32/1008648_2.png) [@scrcro](https://forums.unrealengine.com/u/scrcro)\
**Post date:** [May 5, 2014, 2:04pm UTC](https://forums.unrealengine.com/t/why-does-my-dynamic-material-instance-only-affect-one-particle-system-in-a-cascade-setup/282560/2 "2014-05-05T14:04:03Z")

</div>

Oh, and the pertinent part of the shader network, in case its relevant:

 ![5633-shader_netwowrk.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/9/b/a9b404564253e59433951cf3b8a607a52dd944a1.png)

---

<div class="post-metadata">

**Author:** ![Lovecraft\_K](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lovecraft\_K](https://forums.unrealengine.com/u/Lovecraft_K)\
**Post date:** [May 5, 2014, 9:36pm UTC](https://forums.unrealengine.com/t/why-does-my-dynamic-material-instance-only-affect-one-particle-system-in-a-cascade-setup/282560/3 "2014-05-05T21:36:31Z")

</div>

Hey Crow87 -

Looks like it’s coming along nicely! I need a little bit more information on how you have your particle system and material set up. Can you upload a screen shot of the Dynamic Expression in Cascade and the Material Editor?

Thanks

Eric Ketchum

---

<div class="post-metadata">

**Author:** ![\_EPIC\_homeRye](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@\_EPIC\_homeRye](https://forums.unrealengine.com/u/_EPIC_homeRye)\
**Post date:** [May 6, 2014, 1:19pm UTC](https://forums.unrealengine.com/t/why-does-my-dynamic-material-instance-only-affect-one-particle-system-in-a-cascade-setup/282560/4 "2014-05-06T13:19:23Z")

</div>

Make sure you have the Element Index set to the emitter index value, right now there is a limitation with Cascade/MIDs and Blueprints are working to fix, which might break your setup if you sort/change the draw order in Cascade.

Your Emitter Index starts @ 0.00 on the left and increments up from L to R.

If you have more than one Emitter, you need to set an MID for each Emitter in your system.

If you only want to change the colors of your Effects I suggest giving an instanceParameter a try instead using InitialColor and ScaleColorOverLife modules, it requires far less setup.

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

---

<div class="post-metadata">

**Author:** ![scrcro](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/scrcro/32/1008648_2.png) [@scrcro](https://forums.unrealengine.com/u/scrcro)\
**Post date:** [May 6, 2014, 1:33pm UTC](https://forums.unrealengine.com/t/why-does-my-dynamic-material-instance-only-affect-one-particle-system-in-a-cascade-setup/282560/5 "2014-05-06T13:33:52Z")

</div>

Aha! That makes much more sense now, thanks.
