I did some more tests an i found out, that the crash happens when i use: Code:
sphereStateSet->setAttributeAndModes(program,osg::StateAttribute::ON) This works for me: Code: sphereStateSet->setAttribute(program); I would be happy if someone could explain, why it may crash setting the Mode to on. ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=26820#26820 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

