- added a sector index to the subsector struct.
This will be used to process dynamic lights for flats in the processing pass, allowing to remove the lights-only pass entirely.
This commit is contained in:
parent
ecb1578a7a
commit
7aea010892
3 changed files with 6 additions and 27 deletions
|
|
@ -248,7 +248,7 @@ static void PrepareSectorData()
|
|||
|
||||
for (auto &sub : level.subsectors)
|
||||
{
|
||||
sub.render_sector->subsectorcount++;
|
||||
sub.sectorindex = (uint16_t)sub.render_sector->subsectorcount++;
|
||||
}
|
||||
|
||||
for (auto &sec : level.sectors)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue