On 4/13/2011 12:02 PM, Mathias.Franzius wrote: > is it possible to edit an .osg file such that a specific node does not > cast (or receive) a shadow?
You should be able to change the nodemasks involved in the osgShadow object. Refer to the setCastsShadowTraversalMask and setReceivesShadowTraversalMask methods, which should set masks on the osgShadow object (you should be able to see their values in the .osg file). Make sure your node(s) do not have these mask bits set, and they will not be affected by shadowing. -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. Contracting. "There is no Truth. There is only Perception. To Perceive is to Exist." - Xen _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org