Add a warning when too many lights affect a cell #7

Closed
opened 2024-11-28 17:18:53 +00:00 by Jayrude · 0 comments
Owner

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.

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.
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: KeepersCompound/ThiefLightmapper#7
No description provided.