Portal and high update count fixes
This commit is contained in:
parent
8bf31755df
commit
2c069349a3
9 changed files with 51 additions and 23 deletions
|
|
@ -604,6 +604,8 @@ void VulkanRenderDevice::BeginFrame()
|
|||
}
|
||||
hwtexturecount = mTextureManager->GetHWTextureCount();
|
||||
|
||||
FrameTileUpdates = 0;
|
||||
|
||||
GetRenderPassManager()->ProcessMainThreadTasks();
|
||||
GetTextureManager()->ProcessMainThreadTasks();
|
||||
|
||||
|
|
@ -686,6 +688,7 @@ void VulkanRenderDevice::SetLevelMesh(LevelMesh* mesh)
|
|||
|
||||
void VulkanRenderDevice::UpdateLightmaps(const TArray<LightmapTile*>& tiles)
|
||||
{
|
||||
FrameTileUpdates += (int)tiles.size();
|
||||
GetLightmapper()->Raytrace(tiles);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue