Skip to content

Commit 3113459

Browse files
Fix #1074
1 parent 9c170ee commit 3113459

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Shaders/Effects/Rotation/CommonRotation.gdshaderinc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
uniform sampler2D selection_tex : filter_nearest;
22
uniform vec2 pivot;
3-
uniform mat2 transformation_matrix;
3+
uniform mat2 transformation_matrix = mat2(vec2(1.0, 0.0), vec2(0.0, 1.0));
44

55
vec2 rotate(vec2 uv, float ratio) {
66
// Scale and center image

0 commit comments

Comments
 (0)