"Parameter Material" module in cascade
I'm trying to change a material to another one used in cascade particle system via Particles Instance Parameters.
One way I know to do this in UDK is using Material > Parameter Material module, but I couldn't find this module in UE4.
I also couldn't see any way to convert Emitter Material property to a parameter as other modules and properties can.
Then, how do I utilize Particles Instance Parameters to change material of each individual instance particles placed in the level?
In the document linked below introduces Parameter Material in Module Categories, but couldn't find detailed information!
This caught me by surprise too (having used it a lot in UE3), but there is a replacement that I found after a lot of hunting around (can't find any documentation on it, but it works).
In cascade, click on some empty space so you can edit the properties of the whole particle system, then go right down the bottom and find "Named Material Slots". Add a slot and give it a name. Then, in the "Required" module of the emitters, there is also a "Named Material Overrides" property - add a slot there too and give it the same name.
Now inside your blueprint, get your spawned particle system component and use a "Create Named Dynamic Material Instance" node, give it the name of the slot you created in cascade, and assign the material you want. Now the emitters with that slot name in the particle system will have the newly created material, and you can change it like any other dynamic material instance too (e.g. set texture parameters).
answered May 09 '16 at 02:42 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here