Fixed it,

So after a bit of thinking I realised that the default buffer must be re
binded at some point so did another search and found 3 calls to

fbo_ext->glBindFramebuffer(GL_FRAMEBUFFER_EXT, 0);

And my earlier hunch was correct that ios' default buffer id is actually 1
so changing to the below makes it work

fbo_ext->glBindFramebuffer(GL_FRAMEBUFFER_EXT, 1);

So now I need to add a DEFAULT_FRAMEBUFFER define or something in the
FrameBufferObject header file that is set it to 1 on ios


Over all though, good news. Performance seems great too.

Tom
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to