osgcal's shader is overriding yours.
Brian
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose. •
-osg-users-boun...@lists.openscenegraph.org wrote: -
To: osg-users@lists.openscenegraph.org
osg-users@lists.openscenegraph.org
From: Ben Cain bc...@digitalfusion.com
Sent by: osg-users-boun...@lists.openscenegraph.org
Date: 02/18/2009 02:42PM
Subject: [osg-users] osgCal shader question
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
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org