Files
AmongFromUs.Prototype/Shader/Puddle.shader
Mondei1 c623d6d168 Move sounds
New task (textures only)
2020-10-05 16:37:57 +02:00

8 lines
248 B
GLSL

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);
}