I tried your suggestion and it works. I attached the depth texture to the first pass and reused it in the second. I guess the performance of RTT is just about the same as rendering to conventional buffer, so this should work pretty good. It also gives some more control over the situation. Thank you.
------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=48189#48189 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

