Restore 2D panels in Rembrandt
This commit is contained in:
parent
a72caad8bc
commit
7b4287e151
1 changed files with 1 additions and 1 deletions
|
@ -1275,7 +1275,7 @@ FGRenderer::buildLightingLightsPass(CameraInfo* info, FGRenderingPipeline::Pass*
|
|||
lightCam->setViewMatrix(osg::Matrix::identity());
|
||||
lightCam->setProjectionMatrix(osg::Matrix::identity());
|
||||
lightCam->setComputeNearFarMode(osg::CullSettings::DO_NOT_COMPUTE_NEAR_FAR);
|
||||
lightCam->setCullMask( simgear::MODELLIGHT_BIT | simgear::LIGHTS_BITS );
|
||||
lightCam->setCullMask( simgear::MODELLIGHT_BIT | simgear::LIGHTS_BITS | simgear::PANEL2D_BIT );
|
||||
lightCam->setInheritanceMask( osg::CullSettings::ALL_VARIABLES & ~osg::CullSettings::CULL_MASK );
|
||||
lightCam->addChild( mDeferredRealRoot.get() );
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue