3D Camera-Space Coordinates out of gl_FragCoord

Hello

It may be a stupid question, but how do i get the position of a fragment in 3D-Camera-Space-Coordinates out of gl_FragCoord? Do i only need to apply the inverse of the Projection-Matrix to it?
Is it already in there, only i dont see it?

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.