PDA

View Full Version : Problems with stencil - Renderbuffer



Nikolai Timofeev
07-15-2005, 05:36 AM
Any body try to Create
Renderbuffer for stencil data on nvidia's hw?!
:
glBindRenderbufferEXT
( GL_RENDERBUFFER_EXT
, m_stencil_buffer
);
glRenderbufferStorageEXT
( GL_RENDERBUFFER_EXT
, GL_STENCIL_INDEX8_EXT, m_width, m_height);

//last is fail !!!

Corrail
07-15-2005, 02:27 PM
Stencil buffers are AFAIK not yet supported. This is because stencil buffers are packed together with depth buffers on current hardware. And there is no STENCIL8__DEPTH24 format defined. But I read somewhere that the ARB is working on that.

Nikolai Timofeev
07-15-2005, 08:50 PM
Thanks...
Even nvidia's GL_NV_packed_depth_stencil can't help here :( . Waiting for miracle from ARB, as usual...