diff --git a/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/Effects/Upscaling.cs b/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/Effects/Upscaling.cs index 1a6d5a1..23dc820 100644 --- a/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/Effects/Upscaling.cs +++ b/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/Effects/Upscaling.cs @@ -249,7 +249,7 @@ namespace UnityEngine.Rendering.PostProcessing internal static BuiltinRenderTextureType GetDepthTexture(Camera cam) { - return cam.renderingPath is RenderingPath.Forward or RenderingPath.VertexLit ? BuiltinRenderTextureType.Depth : BuiltinRenderTextureType.CameraTarget; + return cam.actualRenderingPath is RenderingPath.Forward or RenderingPath.VertexLit ? BuiltinRenderTextureType.Depth : BuiltinRenderTextureType.CameraTarget; } } diff --git a/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/PostProcessLayer.cs b/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/PostProcessLayer.cs index ac16ac7..8808104 100644 --- a/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/PostProcessLayer.cs +++ b/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/PostProcessLayer.cs @@ -741,8 +741,7 @@ namespace UnityEngine.Rendering.PostProcessing // Create a copy of the opaque-only color buffer for auto-reactive mask generation if (context.IsSuperResolutionActive() && (superResolution.autoGenerateReactiveMask || superResolution.autoGenerateTransparencyAndComposition)) { - Vector2Int scaledRenderSize = superResolution.GetScaledRenderSize(context.camera); - m_opaqueOnly = context.GetScreenSpaceTemporaryRT(colorFormat: sourceFormat, widthOverride: scaledRenderSize.x, heightOverride: scaledRenderSize.y); + m_opaqueOnly = context.GetScreenSpaceTemporaryRT(colorFormat: sourceFormat); m_LegacyCmdBufferOpaque.BuiltinBlit(cameraTarget, m_opaqueOnly); } diff --git a/Packages/fidelityfx.fsr b/Packages/fidelityfx.fsr index a7d2635..834abd0 160000 --- a/Packages/fidelityfx.fsr +++ b/Packages/fidelityfx.fsr @@ -1 +1 @@ -Subproject commit a7d26354776f2f1a31832a9b06b76c284de8a568 +Subproject commit 834abd0f0e72a9f71e8185c206463cb87d881493