Be sure to not render light volumes in the classical renderer
This commit is contained in:
parent
2416f9f8d8
commit
e4094356f5
1 changed files with 1 additions and 1 deletions
|
@ -1714,7 +1714,7 @@ FGRenderer::update( ) {
|
|||
l->get_sun_angle()*SGD_RADIANS_TO_DEGREES);
|
||||
mUpdateVisitor->setVisibility(actual_visibility);
|
||||
simgear::GroundLightManager::instance()->update(mUpdateVisitor.get());
|
||||
osg::Node::NodeMask cullMask = ~simgear::LIGHTS_BITS & ~simgear::PICK_BIT;
|
||||
osg::Node::NodeMask cullMask = ~simgear::LIGHTS_BITS & ~simgear::PICK_BIT & ~simgear::MODELLIGHT_BIT;
|
||||
cullMask |= simgear::GroundLightManager::instance()
|
||||
->getLightNodeMask(mUpdateVisitor.get());
|
||||
if (_panel_hotspots->getBoolValue())
|
||||
|
|
Loading…
Reference in a new issue