View Full Version : Z-Buffers on Radeon 8500
01-15-2002, 08:30 AM
I know this is very specific to that card and this usage, but I would like to know if I can explicitly create a depth pbuffer (using WGL) rather than having to request a colour buffer as well?
Thanks for any help.
There's no mechanism in OpenGL that allows you to do this on a Radeon 8500 or any other card. Z-Buffers (as with the color buffer and stencil buffer) are attached to the pixel format.
D3D has this capability. Hopefully OpenGL 2.0 will have it, but right now it isn't possible.
01-15-2002, 11:33 AM
Thanks for this info. It was probably expecting a bit much anyway to cast a 32-bit Z-buffer to a color bitmap I could use as a shadow depth texture. I'll have to have a rethink...
01-15-2002, 08:28 PM
We support pbuffer pixel formats without color buffers. These are primarily useful for rendering to and then copying to a shadow map (lets you use a shadow map larger than your window), but they can be used for other things as well.
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.