Skip to content

Commit d4c6eb8

Browse files
seungwon-ohEvergreen
authored andcommitted
[Port] [6000.0] [UUM-83764] Fix Game View flipping upside down when using HDR Debug Mode
UUM-83764 In the Frame Debugger, the flip occurs in the RG_FinalBlit pass. The flip happens when blitting from the render texture to the back buffer. This does not apply to HDR debug views that render to DebugScreenTexture. FinalBlitSettings.resolveToDebugScreen is defined but not set. Added the missing setting.
1 parent 1de3000 commit d4c6eb8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Packages/com.unity.render-pipelines.universal/Runtime/Passes/PostProcessPassRenderGraph.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1696,6 +1696,7 @@ public void RenderFinalPassRenderGraph(RenderGraph renderGraph, ContextContainer
16961696
bool resolveToDebugScreen = debugHandler != null && debugHandler.WriteToDebugScreenTexture(cameraData.resolveFinalTarget);
16971697
debugHandler?.UpdateShaderGlobalPropertiesForFinalValidationPass(renderGraph, cameraData, !m_HasFinalPass && !resolveToDebugScreen);
16981698

1699+
settings.resolveToDebugScreen = resolveToDebugScreen;
16991700
settings.isAlphaOutputEnabled = cameraData.isAlphaOutputEnabled;
17001701
settings.isFxaaEnabled = (cameraData.antialiasing == AntialiasingMode.FastApproximateAntialiasing);
17011702
settings.isFsrEnabled = ((cameraData.imageScalingMode == ImageScalingMode.Upscaling) && (cameraData.upscalingFilter == ImageUpscalingFilter.FSR));

0 commit comments

Comments
 (0)