[osg-users] osgCal shader question

1 view
Skip to first unread message

Ben Cain

unread,
Feb 18, 2009, 2:42:24 PM2/18/09
to osg-...@lists.openscenegraph.org

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

 

Brian R Hill

unread,
Feb 18, 2009, 2:57:44 PM2/18/09
to OpenSceneGraph Users

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-user...@lists.openscenegraph.org wrote: -----


To: "osg-...@lists.openscenegraph.org"
<osg-...@lists.openscenegraph.org>
From: Ben Cain <bc...@digitalfusion.com>
Sent by: osg-user...@lists.openscenegraph.org
Date: 02/18/2009 02:42PM
Subject: [osg-users] osgCal shader question
_______________________________________________
osg-users mailing list
osg-...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Reply all
Reply to author
Forward
0 new messages