H. Verbeet wrote:
On 08/09/06, Chris Robinson chris.kcat@gmail.com wrote:
On Thursday 07 September 2006 23:50, Ivan Gyurdiev wrote:
(3) Attempting to use GL_STENCIL_INDEX8_EXT in
glRenderbufferStorageEXT
will fail on my hardware with GL_INVALID_OPERATION.
I've found that the only way to get a stencil buffer with an FBO is to use a packed stencil/depth buffer. Just create the packed buffer, and set it as both the depth buffer and stencil buffer when needed.
Correct. We actually need to do this for D3D anyway.
http://www.opengl.org/registry/specs/NV/packed_depth_stencil.txt This is NV-only, and doesn't seem to describe the proper interaction w/ FBOs (is it supported)?
http://www.opengl.org/registry/specs/EXT/packed_depth_stencil.txt This one's marked "incomplete", and I can't find the relevant constants in the GL headers. [yes, my card supports it, however ]
Which do you suggest we use?