I've created a ring that changes the material of a pill based on its position.
What I don't understand is why I have to raise the ring so much to change the material of the entire pill.
I expected that the height of the ring and the material changed at the same speed.
What is wrong in my Geometry Node?
Thanks for your help :)