I want to save depth and normal as textures, how to do? thanks!
Just take the gl_FragCoord.z value in the pixel shader an write it to gl_FragColor.
This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.