AnsweredAssumed Answered

CodeXL - Depth texture is displayed incorrectly in image view

Question asked by silverlan on Jan 14, 2014

I've just started using CodeXL and it's working fine so far, but I'm having some trouble with depth textures. What I get in the image view is not consistent with what I get in my application.

This is what the depth texture looks like when drawn directly to the screen frame buffer inside my application:


(I've increased the contrast to actually make it visible.)

However, the same texture inside CodeXL looks like this:



It does detect the correct format though, so I'm not sure what's going on.

This applies for any GL_DEPTH_COMPONENT textures, any other texture types seem to be displayed correctly.