From 226ca2f04c1b2fa0668148a00e646bc01db55fdb Mon Sep 17 00:00:00 2001 From: Bastiaan Olij Date: Tue, 23 Apr 2024 21:46:39 +1000 Subject: [PATCH] Fix issue with copy shader not working in multiview --- servers/rendering/renderer_rd/shaders/effects/copy_to_fb.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/rendering/renderer_rd/shaders/effects/copy_to_fb.glsl b/servers/rendering/renderer_rd/shaders/effects/copy_to_fb.glsl index 3f9d1cce793..26ee06aa03e 100644 --- a/servers/rendering/renderer_rd/shaders/effects/copy_to_fb.glsl +++ b/servers/rendering/renderer_rd/shaders/effects/copy_to_fb.glsl @@ -57,7 +57,7 @@ void main() { } if (bool(params.flags & FLAG_USE_SRC_SECTION)) { - uv_interp = params.section.xy + uv_interp * params.section.zw; + uv_interp.xy = params.section.xy + uv_interp.xy * params.section.zw; } }