Hi Robert, I've tried that :
pStatsHandler->getCamera()->getOrCreateStateSet()->addAttribute(myStatsProgram); But myStatsProgram is no longer used, I don't really know why, but I believe this is because of the traversal of the camera which doesn't apply its stateset. Thank you! Cheers, Aurelien ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=55026#55026 _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
