hillar
02-01-2005, 06:11 AM
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?
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?