diff --git a/src/common/rendering/vulkan/accelstructs/vk_lightmap.cpp b/src/common/rendering/vulkan/accelstructs/vk_lightmap.cpp index feea2d2477..ac76ff6dfb 100644 --- a/src/common/rendering/vulkan/accelstructs/vk_lightmap.cpp +++ b/src/common/rendering/vulkan/accelstructs/vk_lightmap.cpp @@ -96,6 +96,11 @@ void VkLightmap::Raytrace(LevelMesh* level, const TArray& sur const auto& allSurfaces = surfaces; #endif + for (auto& surface : surfaces) + { + surface->needsUpdate = false; // it may have been set to false already, but lightmapper ultimately decides so + } + UploadUniforms(); lastSurfaceCount = allSurfaces.Size();