mirror of
https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git
synced 2025-09-19 20:05:57 +08:00
3 lines
71 B
Plaintext
3 lines
71 B
Plaintext
vec4 square_wave(vec4 input) {
|
|
return 1. - 2. * round(fract(input));
|
|
} |