shader_type canvas_item;
uniform vec2 scale = vec2(2.0, 2.0); // x and y scale
void vertex() {
VERTEX.x *= scale.x;
VERTEX.y *= scale.y;
}
Editor screenshot for reference:
shader_type canvas_item;
uniform vec2 scale = vec2(2.0, 2.0); // x and y scale
void vertex() {
VERTEX.x *= scale.x;
VERTEX.y *= scale.y;
}
Editor screenshot for reference: