mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0031482: OpenGl_LayerList::renderLayer() - keep shadowmap from global list
This commit is contained in:
@@ -602,7 +602,8 @@ void OpenGl_LayerList::renderLayer (const Handle(OpenGl_Workspace)& theWorkspace
|
||||
if (hasOwnLights)
|
||||
{
|
||||
aLayerSettings.Lights()->UpdateRevision();
|
||||
aManager->UpdateLightSourceStateTo (aLayerSettings.Lights(), theWorkspace->View()->SpecIBLMapLevels(), Handle(OpenGl_ShadowMapArray)());
|
||||
//aManager->UpdateLightSourceStateTo (aLayerSettings.Lights(), theWorkspace->View()->SpecIBLMapLevels(), Handle(OpenGl_ShadowMapArray)());
|
||||
aManager->UpdateLightSourceStateTo (aLayerSettings.Lights(), theWorkspace->View()->SpecIBLMapLevels(), aShadowMaps);
|
||||
}
|
||||
|
||||
const Handle(Graphic3d_Camera)& aWorldCamera = aCtx->Camera();
|
||||
|
Reference in New Issue
Block a user