On Wed, 15 Oct 2008 23:48:40 +0200, ami guru <[EMAIL PROTECTED]> wrote:
//create a new stateset //with the default setting capsuleState->setAttribute(capsuleProgramObject.get());
Every thing look correct, but I am not sure about this line. Try this one instead:
capsuleState->setAttributeAndModes(shaderNightDriving.get()); -- Joakim Simonsson _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

