On Wed, May 28, 2008 at 5:20 PM, Jean-Sébastien Guay < [EMAIL PROTECTED]> wrote:
> Hi Alejandro, > > I wanted to ask if this is a known issue and if there happens to be a way >> to "protect" a node from receiving shadows other than using the node mask, >> since PSSM ignores the ReceiveShadowMask. >> > > I haven't checked, but perhaps you could try to attach an empty > osg::Program to the text nodes? (just new osg::Program) > > Let us know if this works. > Hey it works great! Please never fix the more-than-one-shader-not-working issue :) Seriously tough, canceling the shader on the node I want to "protect" works great, but I wonder if there is another way to do it without creating a new osg::Program. Calling setAttribute(FRAGMENTPROGRAM, OFF) on the node did not work for me. Anyway, thanks a lot for the help ;) Alejandro.- -- [EMAIL PROTECTED] http://varrojo.linuxuruguay.org
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

