9 lines
No EOL
203 B
Text
9 lines
No EOL
203 B
Text
shader_type canvas_item;
|
|
uniform float scroll_speed;
|
|
|
|
void fragment(){
|
|
vec2 shifteduv = UV;
|
|
shifteduv .y -= TIME * scroll_speed;
|
|
vec4 color = texture(TEXTURE, shifteduv);
|
|
COLOR = color;
|
|
} |