Fix RLV vision spheres not working properly in blur(2) mode.

meow-7.2.2
Beq 2024-02-15 13:46:51 +00:00
parent 7e3346829a
commit d64fce306b
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ void main()
break;
case 2: // Blur (variable)
fragColor = texture(diffuseRect, fragTC).rgb;
fragColor = mix(fragColor, blurVariable(diffuseRect, fragTC, SPHERE_PARAMS.x, BLUR_DIRECTION, effectStrength), int(effectStrength > 0));
fragColor = mix(fragColor, blurVariable(diffuseRect, fragTC, SPHERE_PARAMS.x, BLUR_DIRECTION, effectStrength), bvec3(effectStrength > 0));
break;
case 3: // ChromaticAberration
fragColor = chromaticAberration(diffuseRect, fragTC, SPHERE_PARAMS.xy, SPHERE_PARAMS.zw, effectStrength);