how to make dynamic material instance for particle system

I m trying to make dynamic material instance for particle system just like for any other object but it does’nt seems to work.

I made a blueprint added a particle emitter and in construction script used "create dynamic material instance node " with particle emitter as target , saved it to a variable for later modification in event graph . In event graph I am changing a scalar parameter using timeline, but it does seems to work.

pls help…

Thank you

One of the common issues is to ensure that you are referencing the correct Emitter Index. From the Left to Right Start 0…1…2… ect.

When you “Create Dynamic Material Instance” for your particle system as the target, ensure to put in the correct emitter index.

If that doesn’t help, post some screenshots so we can see what you are doing. Hope that helps! =)

There are 5 emitters in particle system .

here are pics of my set up.

construction script -

event graph -

Thanks for the screenshot.

I don’t see you have any thing selected for your Source Material on your “Create Dynamic Material Instance” node.

Set that to the material.

I don’t thing its necessary but I still tried by keeping same material instance that applied in emitters , still doesn’t work

Can we use Dynamic Material Instance with particles?

Yes you can. Can you post a pic of your Dynamic module inside of cascade for your particle system? Also, do you have your material flag set to use for particles sprites?

Material flag is set to use with particles sprites.

here a pic of my particle system ,there is no option for adding Dynamic module though…
55431-

png

here a pic of my material, this is parent material ,I am using an instance of it ,I want to modify Opacity and EmissiveMultiplier Parameters .

Oh, okay so thats your main problem. Click on Parameter and then you can create the Dynamic module. This will give you a way to access parameter for your particle system

ahhhh…I lost you !

I don’t know what you are talking about. Parameter in distribution?

Please give me some guideline on how to do that.

Thank you

Sure here are a couple of references:

Docs on it:

A very similar Answerhub questions with pictures.

I’m going afk, but Id figured I would give you something before I left, hope it helps!

ya thanks for all the help,as you said I needed a dynamic module ,it works fine now but dynamic module doesn’t support gpu sprites so i wasn’t getting any option of adding it to gpu sprites as u can see in above images so I had to convert gpu sprites to normal sprites to get it working.

Thank you for your help. :slight_smile: