diff --git a/shaders/sh_threshold/sh_threshold.fsh b/shaders/sh_threshold/sh_threshold.fsh index 039c5e91c..c962abb9b 100644 --- a/shaders/sh_threshold/sh_threshold.fsh +++ b/shaders/sh_threshold/sh_threshold.fsh @@ -16,7 +16,7 @@ uniform int alphaThresholdUseSurf; uniform sampler2D alphaThresholdSurf; uniform float alphaSmooth; -float _step( in float threshold, in float val ) { return val <= threshold? 0. : 1.; } +float _step( in float threshold, in float val ) { return val < threshold? 0. : 1.; } void main() { float bri = brightThreshold.x;