Sorry for the newbie question:
I need rounded Caps on curves using Geometry Nodes. So I followed various tutorials and ended up combining elements from these two https://www.youtube.com/watch?v=EV9qgvz7yRU and https://www.youtube.com/watch?v=dC4YrxYhJzU
Now, I've created a shader with a gradient that follows along the objects, following this tutorial: https://www.youtube.com/watch?v=XDKlfxmnnIQ). It works fine, but the rounded caps don't seem to be integrated into the object. Which – to my limited knowledge – is logical, as the "Capture Attribute" Node gets its "Geometry" Information from "Group Input"; which does net yet contain the caps. But I cant figure out how the change this.
Any suggestions how to get my shader to include the rounded caps? Thanks you!



But the main question would be, how to include the caps in my shader.
– Niko Jan 09 '24 at 17:20But I included the YT videos to explain my setup. The real questions is about the use of the "Capture Attribute" node and how I can include the entire object, so my shader (with a gradient following the curve) also works on the rounded caps.
– Niko Jan 10 '24 at 08:55