Improve env probes rendering if DDGI is enabled

This commit is contained in:
Wojciech Figat
2022-07-15 16:11:00 +02:00
parent a8579cadcc
commit a2677a25a9
11 changed files with 97 additions and 103 deletions

View File

@@ -403,7 +403,7 @@ void SceneRenderTask::OnBegin(GPUContext* context)
void SceneRenderTask::OnRender(GPUContext* context)
{
if (Buffers && Buffers->GetWidth() > 0)
if (!IsCustomRendering && Buffers && Buffers->GetWidth() > 0)
Renderer::Render(this);
RenderTask::OnRender(context);