Material on sweep cap


I have a gradient along a sweep object. Is there any way to have the cap use the end colour of the gradient?

The sweep is animated (grows along the spline) and would need to change colour accordingly.

Really stumped on this, any help would be greatly appreciated.


If you are in the latest C4D version you should be able to fix this with the “Automatic UV” capsule. Just put your sweep in a null with the capsule.