Hi Anton,
Is it possible to render in one RTT two cameras?
The first camera is the 'main scene', and the second camera - '2d menu'.
Your question is hard to understand, but I guess you want to draw two passes into one render target. This can be done in many ways, but as the second pass seems to be screenspace anyways, you could draw the second camera on top of you fullscreen-quad in the final pass. If you need to do it really via RTT, create a second pass which binds the first output, displays it on a quad and add the 2d stuff as a second camera drawing to the rendertarget via blending.

cheers
Sebastian


------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=59074#59074





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

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

Reply via email to