Improve env probes rendering if DDGI is enabled
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user