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.