diff --git a/files/shaders/compatibility/bs/default.frag b/files/shaders/compatibility/bs/default.frag index 3c665752d1..5068c01d80 100644 --- a/files/shaders/compatibility/bs/default.frag +++ b/files/shaders/compatibility/bs/default.frag @@ -58,7 +58,7 @@ void main() #if defined(DISTORTION) && DISTORTION vec2 screenCoords = gl_FragCoord.xy / (screenRes * @distorionRTRatio); - gl_FragData[0].a = getDiffuseColor().a; + gl_FragData[0].a *= getDiffuseColor().a; gl_FragData[0] = applyDistortion(gl_FragData[0], distortionStrength, gl_FragCoord.z, texture2D(opaqueDepthTex, screenCoords).x); return; diff --git a/files/shaders/compatibility/objects.frag b/files/shaders/compatibility/objects.frag index 7f163580cc..8bd9664b41 100644 --- a/files/shaders/compatibility/objects.frag +++ b/files/shaders/compatibility/objects.frag @@ -142,7 +142,7 @@ vec2 screenCoords = gl_FragCoord.xy / screenRes; gl_FragData[0] = texture2D(diffuseMap, diffuseMapUV + offset); #if defined(DISTORTION) && DISTORTION - gl_FragData[0].a = getDiffuseColor().a; + gl_FragData[0].a *= getDiffuseColor().a; gl_FragData[0] = applyDistortion(gl_FragData[0], distortionStrength, gl_FragCoord.z, texture2D(opaqueDepthTex, screenCoords / @distorionRTRatio).x); return; #endif