Fix missing lights when baking a map with vktool
This commit is contained in:
parent
23e4c46684
commit
5299453486
2 changed files with 4 additions and 1 deletions
|
|
@ -53,6 +53,9 @@ void LightmapBuildCmdlet::OnCommand(FArgs args)
|
|||
Printf("Lightmap is not enabled in this level.\n");
|
||||
}
|
||||
|
||||
if (level.levelMesh)
|
||||
level.levelMesh->BeginFrame(level);
|
||||
|
||||
Printf("Baking lightmaps. Please wait...\n");
|
||||
|
||||
uint32_t atlasPixelCount = level.levelMesh->AtlasPixelCount();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue