changes
This commit is contained in:
parent
90e378c2db
commit
e04b50f15b
3 changed files with 52 additions and 11 deletions
File diff suppressed because one or more lines are too long
9
gmtk_2024/shaders/scrolling.gdshader
Normal file
9
gmtk_2024/shaders/scrolling.gdshader
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
shader_type canvas_item;
|
||||||
|
uniform float scroll_speed;
|
||||||
|
|
||||||
|
void fragment(){
|
||||||
|
vec2 shifteduv = UV;
|
||||||
|
shifteduv .y -= TIME * scroll_speed;
|
||||||
|
vec4 color = texture(TEXTURE, shifteduv);
|
||||||
|
COLOR = color;
|
||||||
|
}
|
BIN
gmtk_2024/textures/Lev1D38.tmp
Normal file
BIN
gmtk_2024/textures/Lev1D38.tmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 685 KiB |
Loading…
Add table
Reference in a new issue