Various fixes and stability improvements

This commit is contained in:
Wojtek Figat
2023-12-06 00:28:03 +01:00
parent 38a0718b70
commit fdfca5156b
3 changed files with 10 additions and 3 deletions

View File

@@ -434,6 +434,10 @@ void PostProcessingPass::Render(RenderContext& renderContext, GPUTexture* input,
// Set lens flares output
context->BindSR(3, bloomTmp2->View(0, 1));
}
else
{
context->BindSR(3, (GPUResourceView*)nullptr);
}
////////////////////////////////////////////////////////////////////////////////////
// Final composite