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
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to