View Full Version : Displaying Depth Buffer
10-30-2004, 02:36 AM
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 :(
10-30-2004, 10:44 AM
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 ?
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.