Hi Peterakos, On 5 September 2012 11:36, Peterakos <[email protected]> wrote: > I disabled it in run time and checked the state set before and after this > line: > stateset->removeAttribute(osg::StateAttribute::PROGRAM) > > Before that line the program was in attribute list along with lighting. > After that line, only lighting was there. But still the shaders seem active.
This suggests an issue with osg::State's lazy state up dating not applying it's default value for osg::StateAttribute::PROGRAM. Could you create a small OSG example that illustrates this problem so that others can help look into it. Thanks, Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

