diff options
-rw-r--r-- | source/blender/draw/engines/gpencil/shaders/gpencil_vfx_frag.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/gpencil/shaders/gpencil_vfx_frag.glsl b/source/blender/draw/engines/gpencil/shaders/gpencil_vfx_frag.glsl index aedc8668387..bb905f8694b 100644 --- a/source/blender/draw/engines/gpencil/shaders/gpencil_vfx_frag.glsl +++ b/source/blender/draw/engines/gpencil/shaders/gpencil_vfx_frag.glsl @@ -168,7 +168,7 @@ void main() vec3 rev = texture(revealBuf, uv).rgb; if (threshold.x > -1.0) { if (threshold.y > -1.0) { - if (all(lessThan(abs(col - threshold), vec3(0.05)))) { + if (any(greaterThan(abs(col - threshold), vec3(0.05)))) { weight = 0.0; } } |