Well, I imagine project which requires this for many objects, so I’ve tried to implement this by myself in my experimental project.
Solution is quite simple, so I was wrong with my first opinion.
This is what I get:
Of course it depends on mesh UVs and gradient orientation in material.
My material is very similar to yours:
And here is blueprint for spline mesh actor: