Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Huti |
Hi. I have a problem with this texture. Clouds coming down. There is a code for that. Everything works fine until I export to Html5. Then the clouds disappear and there is only a blue background.
shader_type canvas_item;
uniform float scroll_speed;
void fragment() {
vec2 u = UV;
u.y -= scroll_speed*TIME;
vec4 col = texture(TEXTURE,u);
COLOR = col;
}