Added alpha test setting

This commit is contained in:
Robert Osfield 2006-11-15 20:29:28 +00:00
parent c24289315a
commit a73e9250ee

View File

@ -732,6 +732,8 @@ osg::Node* createShaderModel(osg::ref_ptr<osg::Image>& image_3d, osg::ref_ptr<os
stateset->setEventCallback(new FollowMouseCallback);
stateset->setMode(GL_ALPHA_TEST,osg::StateAttribute::ON);
// set up the 3d texture itself,
// note, well set the filtering up so that mip mapping is disabled,
// gluBuild3DMipsmaps doesn't do a very good job of handled the