Hi Everyone, I want to add some OpenGL draw code into my camera's draw process and render to a texture for multi render pass. So I first set a GL postdrawcallback to my main camera to do something such as draw some lines. Then I need to capture the whole screen to a texture , and use it in my fragment shaders. So I use the FBO for the texture like osgprerender example, but from the texture I can't find the GL lines I drawed in my GL postdrawcallback, only the scene rendered in my camera's draw process. How can I achieve the whole texture including my GL post-draw effects? Must I use another drawcallback to Copy the GL_BACK pixel values?
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

