From 8c9689ffb594e25db9cf99f5b10e80af0a386648 Mon Sep 17 00:00:00 2001 From: AlvaroHG Date: Fri, 22 Nov 2024 02:25:33 -0800 Subject: [PATCH] missing readTextureFormat for cloudrendering --- unity/Assets/Scripts/CapturePass.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unity/Assets/Scripts/CapturePass.cs b/unity/Assets/Scripts/CapturePass.cs index d2eeaf5090..e7bc92ef94 100644 --- a/unity/Assets/Scripts/CapturePass.cs +++ b/unity/Assets/Scripts/CapturePass.cs @@ -231,7 +231,7 @@ protected RenderTexture CreateRenderTexture(int width, int height) { cloudRenderingRTFormat = GraphicsFormat.R32_SFloat; } else { - this.renderTextureFormat = RenderTextureFormat.ARGB32; + readTextureFormat = TextureFormat.RGBA32; cloudRenderingRTFormat = GraphicsFormat.R8G8B8A8_UNorm; }