SupaLidlGame/Shaders/Wipe.gdshader

8 lines
164 B
Plaintext
Raw Permalink Normal View History

2023-08-13 20:11:40 -07:00
shader_type canvas_item;
uniform float amount : hint_range(0.5, 1.0, 0.01) = 1;
void fragment() {
2024-06-04 13:57:02 -07:00
COLOR.a *= step(UV.x, amount) * step(1.0 - amount, UV.x);
2023-08-13 20:11:40 -07:00
}