diff --git a/KeepersCompound.Lightmapper/LightMapper.cs b/KeepersCompound.Lightmapper/LightMapper.cs index dfa0071..1459c0b 100644 --- a/KeepersCompound.Lightmapper/LightMapper.cs +++ b/KeepersCompound.Lightmapper/LightMapper.cs @@ -352,6 +352,11 @@ public class LightMapper cell.LightIndices[0]++; } } + + if (cell.LightIndexCount > 97) + { + Console.WriteLine($"Too many lights in cell at ({cell.SphereCenter}): {cell.LightIndexCount - 1} / 96"); + } }); }