We can't use the `threshold` uniform name in Metal because it is used as a local variable in one of the library files, because uniforms are defines in Metal, so it causes an error. Change the name to `color_threshold` as a fix.
We can't use the `threshold` uniform name in Metal because it is used as a local variable in one of the library files, because uniforms are defines in Metal, so it causes an error. Change the name to `color_threshold` as a fix.