You can use two methods : - Setting the renderbin to always draw the desired node after the others, and disabling depth test for it : node->getOrCreateStateState()->setMode(GL_DEPTH_TEST, osg::StateAttribute::OFF);
- Drawing the desired node on a separated CameraNode (in POST_RENDER), but the previous method is enougth for you I think. On 11/16/06, Benoît Poulard <[EMAIL PROTECTED]> wrote:
Hi, How can I set node in order to never mask this node by another node? Thank's Ben _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
-- Serge Lages http://www.magrathea-engine.org _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
