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