Renamed osgUtil::RenderStageLighting osgUtil::PositionalStateContainer

This commit is contained in:
Robert Osfield
2005-09-02 10:35:38 +00:00
parent ce3bfff46a
commit 21cabaf5f6
7 changed files with 38 additions and 38 deletions

View File

@@ -1122,12 +1122,12 @@ void CullVisitor::apply(osg::CameraNode& camera)
rtts->setViewport( viewport );
// set up to charge the same RenderStageLighting is the parent previous stage.
// set up to charge the same PositionalStateContainer is the parent previous stage.
osg::Matrix inhertiedMVtolocalMV;
inhertiedMVtolocalMV.invert(originalModelView);
inhertiedMVtolocalMV.postMult(getModelViewMatrix());
rtts->setInheritedRenderStageLightingMatrix(inhertiedMVtolocalMV);
rtts->setInheritedRenderStageLighting(previous_stage->getRenderStageLighting());
rtts->setInheritedPositionalStateContainerMatrix(inhertiedMVtolocalMV);
rtts->setInheritedPositionalStateContainer(previous_stage->getPositionalStateContainer());
// record the render bin, to be restored after creation
// of the render to text