Retrieve the light list on the fly rather than try to sync it
This commit is contained in:
parent
f9b7332aed
commit
1dd2605200
7 changed files with 81 additions and 27 deletions
|
|
@ -482,7 +482,6 @@ void VulkanRenderDevice::BeginFrame()
|
|||
|
||||
if (levelMesh && levelMesh->GetSurfaceCount() > 0)
|
||||
{
|
||||
levelMesh->UpdateLightLists();
|
||||
GetTextureManager()->CreateLightmap(levelMesh->LMTextureSize, levelMesh->LMTextureCount, std::move(levelMesh->LMTextureData));
|
||||
GetLightmap()->SetLevelMesh(levelMesh);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue