From 327046866c04b8dea0f687e2fa976750fb4ccc3a Mon Sep 17 00:00:00 2001 From: metallic77 <43163462+metallic77@users.noreply.github.com> Date: Mon, 5 Jun 2023 09:30:11 +0300 Subject: [PATCH] Update crt-sines.slang mask wasn't visible --- crt/shaders/crt-sines.slang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crt/shaders/crt-sines.slang b/crt/shaders/crt-sines.slang index ea8e0da..b5678d7 100644 --- a/crt/shaders/crt-sines.slang +++ b/crt/shaders/crt-sines.slang @@ -167,7 +167,7 @@ void main() color *= SCANLINE * sin(fract(vTexCoord.y*SourceSize.y/SCALE)*3.141529) +(1.0-SCANLINE); color = pow(color,vec3(INGAMMA)); - color =mix(color, color*mask, dot(color, vec3(FADE))); + color =mix(color*mask, color, dot(color, vec3(FADE))); color *= mix(1.0,BOOST,lum); color *= vec3(1.0+WPR, 1.0-WPR/2.0, 1.0-WPR/2.0);