I have looked at many posts now on how to reconstruct world position from a depth value. However I am trying to avoid writing my depth out to a separate fbo and instead use the depth in my depth buffer as a texture to reconstruct the world position. I previously had this working by writing out linear depth to a separate fbo, but now I want to not write to that extra fbo...
I believe the bottom of this page shows me how to do it: http://mynameismjp.wordpress.com/201...-from-depth-3/ But I have had no luck. Could someone tell me what "EyeZAxis" is supposed to represent? I thought it was the direction the camera is looking in world space?