Only force baking of tiles where the geometry changed
This commit is contained in:
parent
27f0bea2bc
commit
76fb5901d7
8 changed files with 106 additions and 45 deletions
|
|
@ -72,7 +72,7 @@ void LightmapBuildCmdlet::OnCommand(FArgs args)
|
|||
tiles.Clear();
|
||||
for (auto& e : level.levelMesh->Lightmap.Tiles)
|
||||
{
|
||||
if (e.NeedsUpdate)
|
||||
if (e.NeedsInitialBake)
|
||||
{
|
||||
tiles.Push(&e);
|
||||
if (tiles.Size() == 1001)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue