mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-25 12:41:01 +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