Hello. This is what i did. 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. thnx.
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

