I need to shift the depth of a fragment a little bit (converting circles to spheres). Can anyone explain me how the original gl_FragCoord.z value is calculatged ?
I’m sure there are lots of places, but here are a few:
I need to shift the depth of a fragment a little bit (converting circles to spheres). Can anyone explain me how the original gl_FragCoord.z value is calculatged ?
I’m sure there are lots of places, but here are a few: