- Fix VkRaytrace::Raytrace not working properly if called multiple times per frame.
- Only call VkRaytrace::Raytrace once per scene
This commit is contained in:
parent
e3e08c29b0
commit
2178de0c6c
4 changed files with 10 additions and 7 deletions
|
|
@ -415,7 +415,7 @@ void HWDrawInfo::CreateScene(bool drawpsprites, FRenderState& state)
|
|||
|
||||
void HWDrawInfo::UpdateLightmaps()
|
||||
{
|
||||
if (VisibleSurfaces.Size() < unsigned(lm_background_updates))
|
||||
if (!outer && VisibleSurfaces.Size() < unsigned(lm_background_updates))
|
||||
{
|
||||
for (auto& e : level.levelMesh->Surfaces)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue