9 lines
151 B
Plaintext
9 lines
151 B
Plaintext
shader_type canvas_item;
|
|
|
|
uniform float speed = 0.0;
|
|
|
|
void fragment() {
|
|
vec2 uv = UV;
|
|
uv.x -= TIME * speed;
|
|
COLOR = texture(TEXTURE, uv);
|
|
} |