One simple way is setting your colors as HDR in shadergraph
and use AgePercent to Lerp between the color
The only counterpart is if you want 4 different colors over the particule life, you will have to declare 4 colors :
Here the result :
In few words, each smoothstep provide a [0-1] value to lerp between the different colors.
The smoothstep range is define by [1 / 3 (numberOfSmoothstep)]
I hope it’s what you’re looking for in a way!
And here the shader for example (you can see the setup for shuriken in the gif). Sorry, i don’t know how to add commentary in shadergraph… and it’s look like it’s impossible for the moment!
Ok, so here is what I have:
Pretty basic, i just want to influence the alpha.
Now I want to join a noise with it, a multiply should be enough:
Here is the result:
And here is the setting for the particle system
It completely ignores any values put on the custom data. But if I remove UV (TXCOORD0.xy)
Well, it works ! Buuuut now it loses its ability to read the texture.
If it isn’t clear enough please tell me ! And thank you for dedicating time for newbies like me <3