We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c170ee commit 3113459Copy full SHA for 3113459
src/Shaders/Effects/Rotation/CommonRotation.gdshaderinc
@@ -1,6 +1,6 @@
1
uniform sampler2D selection_tex : filter_nearest;
2
uniform vec2 pivot;
3
-uniform mat2 transformation_matrix;
+uniform mat2 transformation_matrix = mat2(vec2(1.0, 0.0), vec2(0.0, 1.0));
4
5
vec2 rotate(vec2 uv, float ratio) {
6
// Scale and center image
0 commit comments