Add a warning when too many lights affect a cell #7
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Following some research by vfig we know that there's a sort of soft-cap on the size of cell LightIndices list. If it's over 96 then any objects in the cell won't be affected by lights past that index. It doesn't break or crash or anything, but there should be a warning if it happens.
The impact of this can be mitigated somewhat by sorting the light indices by radius. Lights that are further away are later in the list and so them not affecting object lighting would be less noticeable.