1
0
mirror of https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git synced 2025-09-20 04:15:58 +08:00
Files
Godot-Shader-Lib/addons/ShaderLib/Maths/Wave/SawtoothWave.gdshaderinc

3 lines
76 B
Plaintext
Raw Normal View History

vec4 sawtooth_wave(vec4 input) {
return 2. * (input - floor(.5 + input));
}