From 140ff6ca1a2358d3527fddfad871b8515fce90b6 Mon Sep 17 00:00:00 2001 From: Pavlos Mavridis Date: Fri, 8 Jan 2021 14:10:58 +0100 Subject: [PATCH] Fix issue with capture callback (now includes post processing results) --- com.unity.render-pipelines.high-definition/CHANGELOG.md | 1 + .../Runtime/RenderPipeline/HDRenderPipeline.RenderGraph.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/com.unity.render-pipelines.high-definition/CHANGELOG.md b/com.unity.render-pipelines.high-definition/CHANGELOG.md index 9c3469d1869..a4aa51f6c8e 100644 --- a/com.unity.render-pipelines.high-definition/CHANGELOG.md +++ b/com.unity.render-pipelines.high-definition/CHANGELOG.md @@ -34,6 +34,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fixed Clearcoat on Stacklit or Lit breaks when URP is imported into the project (case 1297806) - Fixed timing issues with accumulation motion blur - Fixed an issue with the frame count management for the volumetric fog (case 1299251). +- Fixed an issue with the capture callback (now includes post processing results). ### Changed - Removed the material pass probe volumes evaluation mode. diff --git a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.RenderGraph.cs b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.RenderGraph.cs index 9da56017ace..af80c886cfd 100644 --- a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.RenderGraph.cs +++ b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.RenderGraph.cs @@ -276,7 +276,7 @@ void ExecuteWithRenderGraph(RenderRequest renderRequest, // Because of this, we need another blit here to the final render target at the right viewport. if (!HDUtils.PostProcessIsFinalPass(hdCamera) || aovRequest.isValid) { - hdCamera.ExecuteCaptureActions(m_RenderGraph, colorBuffer); + hdCamera.ExecuteCaptureActions(m_RenderGraph, postProcessDest); postProcessDest = RenderDebug(m_RenderGraph, hdCamera,