0 Replies Latest reply on Jan 14, 2014 4:13 PM by silverlan

    CodeXL - Depth texture is displayed incorrectly in image view

    silverlan

      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:

      d3IYiqm.jpg

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

      However, the same texture inside CodeXL looks like this:

       

      ipJ5P6L.jpg

      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.