Group lightmap variables and put polyobj walls in a dynamic lightmap atlas

This commit is contained in:
dpjudas 2024-10-22 02:29:12 +02:00
commit dfbef085e6
10 changed files with 149 additions and 129 deletions

View file

@ -687,7 +687,7 @@ void HWDrawInfo::UpdateLightmaps()
{
if (!outer && VisibleTiles.Size() < unsigned(lm_background_updates))
{
for (auto& e : level.levelMesh->LightmapTiles)
for (auto& e : level.levelMesh->Lightmap.Tiles)
{
if (e.NeedsUpdate)
{