CUTTTTTAAAAA
This commit is contained in:
9
Levels/Final Levels/CloudScroll.gdshader
Normal file
9
Levels/Final Levels/CloudScroll.gdshader
Normal file
@@ -0,0 +1,9 @@
|
||||
shader_type canvas_item;
|
||||
|
||||
uniform vec2 motion = vec2(0.0);
|
||||
uniform float scale = 1.0;
|
||||
uniform vec2 offset = vec2(0.0);
|
||||
|
||||
void vertex(){
|
||||
UV = (VERTEX + offset + TIME * motion) * TEXTURE_PIXEL_SIZE * (1.0/scale);
|
||||
}
|
||||
Reference in New Issue
Block a user