Multiple dynamic parameters for particles?

Is it somehow possible to have more than just 4 dynamic scalar values in cascade to control material?

133528-capture.png

I would assume you would use multiple Dynamic Parameter nodes, they are just vector4’s.

You cant sadly.

But with some experience you could use a “particle color node” as a dynamic parameter as well, though with some limitations.

Additionally there are nodes like “Particle relative time” wich outputs a 0-1 over the lifetime of the particle/
“Particle Random” (gpu only) which outputs 32 random values between 0-1 for each particle emitted.

And if you know how to use If nodes, you could make it so if the Red output of a dynamic parameter goes above 1, it activates something else than when its below 1, and again for when its above 2, above 3, etc.

Hi , thans for your response,

I had the same idea, to use ‘if’ nodes and kindoff make a switch, where positive and negative values would be used as two separate values, and although it’s a great trick, we still can’t have more than 4 values at the same time, because one value can’t be positive and negative at the same time.

But ‘particle color’ and ‘particle relative time’ could be very usefull actually. I could setup the color of the particles in the material (and never change it), and use 1 - ‘particle relative time’ to drive alpha of the particles (since I want simple fade out). That would give me 4 new parameters from the particle color node! :slight_smile: Which is exactly what I need…

I hope Niagara will fix this kind of issues in the future…
Thanks again , great to have you around :slight_smile:

what you can do once you set up a color for the particle, is use hueshift node and use only one of the RGBA’s from the particle color to modify the hueshift.

I know this is old but I stumbled upon this when trying to work out the same thing.

I figured out that you can indeed have multiple Dynamic Parameters and all you have to do is increase the “Parameter Index”, Each Index has it’s own set of Outputs.

2 Likes

This is because that function has been added quite recently.
Back in 2017 this was not possible :slight_smile:

Its good that you posted though, in case people nowadays are wondering if its possible!

2 Likes

Yes, but there are only index 0 to 3, and I can´t find anything to add a new index within the particle system.

So are we really limited to index 0 to 3 or have I just not seen how to add higher index?

Feedback much appreciated.

no, four tops (0-3) and unless you are doing something really crazy, 4 is generally way more than enough. If you need one more, you could still use a particle color node as a fifth, as its basically the same thing as a dyn. parameter, just without parameter names.

If you’d need even more, you might want to consider other approaches to pass through data. Which, --besides simple stuff like uv maps/vert colors-- is not really my forte.