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