Improve probes relocation algorithm to reduce visual artifacts due to probes flickering
This commit is contained in:
@@ -896,6 +896,7 @@ void GlobalSurfaceAtlasPass::RenderDebug(RenderContext& renderContext, GPUContex
|
||||
Vector2 outputSizeTwoThird = outputSize * 0.666f;
|
||||
|
||||
GPUTexture* tempBuffer = renderContext.Buffers->RT2_FloatRGB;
|
||||
context->Clear(tempBuffer->View(), Color::Black);
|
||||
context->SetRenderTarget(tempBuffer->View());
|
||||
|
||||
// Full screen - direct light
|
||||
|
||||
Reference in New Issue
Block a user