From 9daaa3b73b3f07c3aaab0ce4c1a119ea7e330e6a Mon Sep 17 00:00:00 2001 From: Jarrod Doyle Date: Mon, 9 Dec 2024 10:27:32 +0000 Subject: [PATCH] Improve note about door light blocking --- KeepersCompound.Lightmapper/LightMapper.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/KeepersCompound.Lightmapper/LightMapper.cs b/KeepersCompound.Lightmapper/LightMapper.cs index e22ebe1..a7acd44 100644 --- a/KeepersCompound.Lightmapper/LightMapper.cs +++ b/KeepersCompound.Lightmapper/LightMapper.cs @@ -129,7 +129,6 @@ public class LightMapper private void BuildLightList() { - // TODO: Doors aren't blocking lights, seems to be lighttable related _lights.Clear(); // Get the chunks we need @@ -287,6 +286,8 @@ public class LightMapper private void SetCellLightIndices() { + // TODO: Doors aren't blocking lights. Need to do some cell traversal to remove light indices :( + if (!_mission.TryGetChunk("WREXT", out var worldRep)) return;