Close #7: Log when too many lights reach cell
This commit is contained in:
parent
518f387c43
commit
df9b21de46
|
@ -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");
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue