For example I have an object in my sphere. I want the part of the sphere which is behind the object (in the sphere) to be blue and the part which is in front of it to be red.
Is this possible? Is it also possible to keep it updated if I change my camera view?
Thanks for your help!