Hello,

Do you know why a shader might not be affecting osgCal nodes?

I apply a black-and-white shader to the scene root, but it isn't affecting the 
CAL3D characters.  Everything else is fine.

   scene->getOrCreateStateSet()->setAttributeAndModes(prog.get(), 
osg::StateAttribute::ON);

Does osgCal has its own shader?  If so, it will override the one that I'm 
applying at the scene root.  What are my options?

Thanks,
   Ben

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to