Add the alpha test back in so the instruments won't disappear after changing the view direction
This commit is contained in:
parent
6bd7967e36
commit
49030e700b
1 changed files with 1 additions and 0 deletions
|
@ -486,6 +486,7 @@ FGRenderer::init( void )
|
|||
mRoot->addChild(lightSource);
|
||||
|
||||
stateSet = globals->get_scenery()->get_scene_graph()->getOrCreateStateSet();
|
||||
stateSet->setMode(GL_ALPHA_TEST, osg::StateAttribute::ON);
|
||||
stateSet->setMode(GL_LIGHTING, osg::StateAttribute::ON);
|
||||
stateSet->setMode(GL_DEPTH_TEST, osg::StateAttribute::ON);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue