How to create linear gradient along spline based mesh from start to end?

You could calculate the gradient for each segment.

Material:

Blueprint:

Result:

Runtime Spline Editor

2 Likes