I have converted my app to read ID from the ID buffer framebuffer color attachment and depth from the default back framebuffer. This works. So it appears on AMD reading depth from non-default framebuffer is not supported at least on my framebuffer configuration - or I am doing something else wrong..
Should I be able to read depth with glReadPixels() on non-default framebuffers? Are there framebuffer configurations that are known to or not to work with this?
there is no known limitation with reading from the depth buffer from a fbo (the code is largely shared between the two). it would help if you could send us a standalong .cpp app which reproduces the issue.
regards,
Pierre B.
there is no known limitation with reading from the depth buffer from a fbo (the code is largely shared between the two). it would help if you could send us a standalong .cpp app which reproduces the issue.
regards,
Pierre B.
there is no known limitation with reading from the depth buffer from a fbo (the code is largely shared between the two). it would help if you could send us a standalong .cpp app which reproduces the issue.
regards,
Pierre B.
Unfortunately my code is C# and more than just a few small files. I might be able to make a standalone .cpp test eventually though.