Thanks Nick for the clarification. In my code I am doing
Code: osg::StateSet* shaderState = cowG->getOrCreateStateSet(); ... shaderState->setAttributeAndModes(program, osg::StateAttribute::ON); that seems similar to your suggestion. The weird thing here is that geometries with no shaders seems to stop working fine when calling this method : setUseVertexAttributeAliasing(true); ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=60786#60786 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

