Move sounds

New task (textures only)
This commit is contained in:
2020-10-05 16:37:57 +02:00
parent ace4593b46
commit c623d6d168
17 changed files with 372 additions and 68 deletions

8
Shader/Puddle.shader Normal file
View File

@@ -0,0 +1,8 @@
shader_type canvas_item;
void fragment() {
float uv_height = SCREEN_PIXEL_SIZE.y / TEXTURE_PIXEL_SIZE.y;
vec2 reflected_screenuv = vec2(SCREEN_UV.x, SCREEN_UV.y + uv_height * UV.y * 2.0);
COLOR = texture(SCREEN_TEXTURE, reflected_screenuv);
}