Use CullVisitor traversal mask for light manager.

pull/1547/head
AnyOldName3 6 years ago
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…
Cancel
Save