From 00537fa3ca35e87269ce76248836d061fa10fc4b Mon Sep 17 00:00:00 2001 From: Jarrod Doyle Date: Sun, 23 Feb 2025 10:08:20 +0000 Subject: [PATCH] Add AnimLightCutoff warning --- KeepersCompound.Lightmapper/LightMapper.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/KeepersCompound.Lightmapper/LightMapper.cs b/KeepersCompound.Lightmapper/LightMapper.cs index 8ddc44d..9d449c6 100644 --- a/KeepersCompound.Lightmapper/LightMapper.cs +++ b/KeepersCompound.Lightmapper/LightMapper.cs @@ -122,6 +122,11 @@ public class LightMapper AnimLightCutoff = lmParams.AnimLightCutoff, FastPvs = pvs, }; + + if (settings.AnimLightCutoff > 0) + { + Log.Warning("Non-zero anim_light_cutoff ({Cutoff}). AnimLight lightmap shadow radius may not match lightgem shadow radius.", settings.AnimLightCutoff); + } Timing.TimeStage("Gather Lights", () => BuildLightList(settings)); Timing.TimeStage("Set Light Indices", () => SetCellLightIndices(settings));