Hi Michael, I'm afraid I can't work out what you mean by do nothing. Setting the NodeMask on Camera will switch it off, it will do nothing. Similar to the cull mask. From your description this works - its does nothing, yet you then say the texture is not updated??!?!?
What are you after? You can't do nothing and still have something "undefined" happen. Could you please explain what bits you want to happen and what you don't. Robert. On 8/16/07, Michael Ebner <[EMAIL PROTECTED]> wrote: > Hello, > > i'm using a osg::Camera with a FBO attached, rendering depth buffer for > use as a shadow map. In a special case i just want the camera to render > nothing (non of their nodes below) to the texture. > At first i tried to set the cull mask of the RTT camera to 0, but that > seemed to have the effect that the camera was not traversed and the > texture was not updated anymore. So i ended up, setting a NodeMask to > the children below the RTT camera to achieve the effect of "rendering > nothing". > > Did i misinterpret the meaning of setCullMask? Is there another way of > enabling/disabling a RTT camera? > > Thanks for any help, > Michael. > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org