Hi Again A bit more information to go on. I ran a test with the OpenGL ES Analyser and it reports two issues
glTexImage2D(GL_TEXTURE_2D, 0, GL_DEPTH_COMPONENT, 512, 512, 0, GL_DEPTH_COMPONENT, GL_UNSIGNED_BYTE, NULL) : (invalid enum=0x1902): Invalid enum for argument 'internalformat' glRenderbufferStorage(GL_RENDERBUFFER, GL_RGB, 512, 512) : (invalid enum=0x1907): Invalid enum for argument 'internalformat' I've also tried setting the texture format to GL_DEPTH_COMPONENT16, but no luck. To make things a little clearer below is the DEBUG_FP output for the FBO setup -- OpenGL extension '' is not supported. Adding parent0x808160 Adding parent0x808160 cull() cull() got SceneView 0x839330 ShaderComposer::~ShaderComposer() 0x83a860 Uniform Adding parent Uniform Adding parent Uniform Adding parent Uniform Adding parent Uniform Adding parent Uniform Adding parent Uniform Adding parent end cull() 0x838eb0 OpenGL extension 'GL_EXT_packed_depth_stencil' is not supported. Setting up osg::Camera::FRAME_BUFFER_OBJECT RenderStage::runCameraSetUp(), FBO setup failed, FBO status= 0x8cd6 OpenGL extension 'WGL_ARB_render_texture' is not supported. Failed to acquire Graphics Context Setting up osg::Camera::FRAME_BUFFER Warning: detected OpenGL error 'invalid enumerant' at after RenderBin::draw(..) Setting up osg::Camera::FRAME_BUFFER Warning: detected OpenGL error 'invalid operation' at after RenderBin::draw(..) Setting up osg::Camera::FRAME_BUFFER Warning: detected OpenGL error 'invalid enumerant' at after RenderBin::draw(..) end draw() 0x838eb0 draw() 0x838eb0 draw() got SceneView 0x839330 -- The 'Failed to acquire Graphics Context' seem a little concerning but again the RGBA version works. Cheers Tom PS The FBO status error is GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

