Initial Android commit
This commit is contained in:
commit
1e2b80c13d
8521 changed files with 231475 additions and 0 deletions
11
resources/effects/MovingBackground.gdshader
Normal file
11
resources/effects/MovingBackground.gdshader
Normal file
|
@ -0,0 +1,11 @@
|
|||
shader_type canvas_item;
|
||||
|
||||
uniform vec2 direction = vec2(1.0,0.0);
|
||||
uniform float speed_scale = 0.1;
|
||||
|
||||
void fragment(){
|
||||
|
||||
vec2 move = direction * TIME * speed_scale;
|
||||
|
||||
COLOR = texture(TEXTURE, UV + move);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue