Added alpha test setting
This commit is contained in:
parent
c24289315a
commit
a73e9250ee
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user