Gradient color particles spawning from mesh?

Basically i’d like to have a gradient of colors that starts at the bast of my mesh. For the life of me I can not figure out how to do this though?

Depending on how you have setup the character, you can use the texture coordinates first channel to get a vertical gradient:


bild

You can lerp two colors with the output to color the gradient:
bild
bild

The best solution would be to use pre-skinned location with a divide to smooth out the gradient.


bild

With the color data setup, simply create an effect like this.

Best of luck mate! :slight_smile: