Hook up some more PBR stuff

This commit is contained in:
Magnus Norddahl 2024-10-03 02:37:08 +02:00
commit c0bbe3a43a
11 changed files with 333 additions and 54 deletions

View file

@ -378,8 +378,8 @@ void VkLightmapper::CopyResult()
if (pixels == 0)
return;
VkTextureImage* destTexture = &fb->GetTextureManager()->Lightmap;
int destSize = fb->GetTextureManager()->LMTextureSize;
VkTextureImage* destTexture = &fb->GetTextureManager()->Lightmap.Image;
int destSize = fb->GetTextureManager()->Lightmap.Size;
auto cmdbuffer = fb->GetCommands()->GetTransferCommands();