![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | zen3001 |
why?
this is the shader script I’ve written but I tried removing it completely and the color difference still happens.
shader_type canvas_item;
uniform vec2 uv_scale = vec2(3.0, 3.0);
uniform float speed = 2.75;
void fragment(){
vec2 uv_ = UV / uv_scale;
vec2 move;
move.y = (TIME + sin(uv_.x + uv_.y)) * -0.1;
COLOR = texture(TEXTURE, uv_+move.y + TIME * -speed);
}