이펙트아카데미 특강/외주/커뮤니티
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!
다운로드
https://drive.google.com/file/d/19oafzIyZIg3qzvszjFwKc0z7ZHYOiPUZ/view
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
https://realtimevfx.com/t/unity-custom-vertex-stream-and-shadergraph-amplify-shader/9524