[osg-users] disabling state

2013-03-08 Thread Trajce Nikolov NICK
Hi community, I have a graph with some node where I have set a shader with override. What is the way down in the subgraph to disable this shader? Thanks Nick -- trajce nikolov nick ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] disabling state

2013-03-08 Thread Trajce Nikolov NICK
The answer is to set an empty osg::Program with osg::StateAttribute::PROTECTED. Thanks Wojtek Nick On Fri, Mar 8, 2013 at 12:36 PM, Trajce Nikolov NICK trajce.nikolov.n...@gmail.com wrote: Hi community, I have a graph with some node where I have set a shader with override. What is the way