From 3113459224232f9ad51ef10abb12c22c28a8676a Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Sun, 11 Aug 2024 11:05:02 +0300 Subject: [PATCH] Fix #1074 --- src/Shaders/Effects/Rotation/CommonRotation.gdshaderinc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Shaders/Effects/Rotation/CommonRotation.gdshaderinc b/src/Shaders/Effects/Rotation/CommonRotation.gdshaderinc index df51418db..a476569d2 100644 --- a/src/Shaders/Effects/Rotation/CommonRotation.gdshaderinc +++ b/src/Shaders/Effects/Rotation/CommonRotation.gdshaderinc @@ -1,6 +1,6 @@ uniform sampler2D selection_tex : filter_nearest; uniform vec2 pivot; -uniform mat2 transformation_matrix; +uniform mat2 transformation_matrix = mat2(vec2(1.0, 0.0), vec2(0.0, 1.0)); vec2 rotate(vec2 uv, float ratio) { // Scale and center image