How can I display content of depth buffer?
I tried read Z to texture and then draw quad with this texture, but it does’t work
Hi !
yes it does work, just make sure that you have the correct code, there is no problem to put the contents of the depth buffer in a texture, but make sure that you specify the correct format in all function calls and so on.
Could be a little more specific on what doesn’t work ?
Do you get a quad and if you do what does it look like ?
Mikael