9 lines
203 B
Plaintext
9 lines
203 B
Plaintext
shader_type canvas_item;
|
|
uniform float flap_speed = 4.0;
|
|
uniform float scale = 4;
|
|
|
|
void vertex() {
|
|
VERTEX.y = VERTEX.y * scale - (64.0*scale/2.0);
|
|
VERTEX.x = VERTEX.x * scale - (64.0*scale/2.0);
|
|
|
|
} |