spacegame/hud/yclip.gdshader
qwertzuiopy 4160fd0d8c :3
2025-04-14 22:07:39 +02:00

7 lines
No EOL
118 B
Text

shader_type canvas_item;
uniform float min_y;
void fragment() {
COLOR = texture(TEXTURE, UV) * step(min_y, UV.y);
}