From 807b05f3d82946bf435395b3323f4465b1dfcf58 Mon Sep 17 00:00:00 2001 From: Nico de Poel Date: Wed, 14 Jun 2023 09:56:51 +0200 Subject: [PATCH] Fixed input resource size again and ffs stop stubbornly making this same mistake over and over again --- .../PostProcessing/Runtime/Effects/SuperResolution.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/Effects/SuperResolution.cs b/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/Effects/SuperResolution.cs index 1359ed4..0c8aa39 100644 --- a/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/Effects/SuperResolution.cs +++ b/Packages/com.unity.postprocessing@3.2.2/PostProcessing/Runtime/Effects/SuperResolution.cs @@ -295,7 +295,7 @@ namespace UnityEngine.Rendering.PostProcessing _dispatchDescription.MotionVectorScale.x = -scaledRenderSize.x; _dispatchDescription.MotionVectorScale.y = -scaledRenderSize.y; _dispatchDescription.RenderSize = scaledRenderSize; - _dispatchDescription.InputResourceSize = _maxRenderSize; + _dispatchDescription.InputResourceSize = scaledRenderSize; _dispatchDescription.FrameTimeDelta = Time.unscaledDeltaTime; _dispatchDescription.CameraNear = camera.nearClipPlane; _dispatchDescription.CameraFar = camera.farClipPlane;