Close #7: Log when too many lights reach cell

This commit is contained in:
Jarrod Doyle 2024-12-09 18:40:04 +00:00
parent 518f387c43
commit df9b21de46
Signed by: Jayrude
GPG Key ID: 38B57B16E7C0ADF7
1 changed files with 5 additions and 0 deletions

View File

@ -352,6 +352,11 @@ public class LightMapper
cell.LightIndices[0]++; cell.LightIndices[0]++;
} }
} }
if (cell.LightIndexCount > 97)
{
Console.WriteLine($"Too many lights in cell at ({cell.SphereCenter}): {cell.LightIndexCount - 1} / 96");
}
}); });
} }