mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
Use CullVisitor traversal mask for light manager.
This commit is contained in:
parent
9d84853903
commit
4438ab4493
@ -399,7 +399,7 @@ namespace SceneUtil
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!(cv->getCurrentCamera()->getCullMask() & mLightManager->getLightingMask()))
|
||||
if (!(cv->getTraversalMask() & mLightManager->getLightingMask()))
|
||||
return false;
|
||||
|
||||
// Possible optimizations:
|
||||
|
Loading…
x
Reference in New Issue
Block a user