mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 07:32:00 -04: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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(cv->getCurrentCamera()->getCullMask() & mLightManager->getLightingMask()))
|
if (!(cv->getTraversalMask() & mLightManager->getLightingMask()))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// Possible optimizations:
|
// Possible optimizations:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user