Floating point texture weirdness

It seems as if rendering to the texture (FBO color attachment) works fine, but when I render a fullscreen quad with this texture, it looks like depth testing is disabled, what the hell, am I missing something?

Obviously, when I don’t render to the texture, depth testing is fine.

Quite embarassing.

you need to create a render buffer and attache the depth componote on this

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