Shader along curve

Hey again,

I’m trying to setup a texture that follows along a beveled bezier curve so that I can animate gradients along the curve. I tried some mapping methods but couldn’t get it working.

How would you achieve that?

I only got it working for particle strands, but that’s not what I need right now.


Still got no direct solution, but a workaround - you can use a simple cylinder with a curve modifier - then it’s easy to animate, because you just have to animate along the cylinder (generated/flat)