Update crt-sines.slang

mask wasn't visible
This commit is contained in:
metallic77 2023-06-05 09:30:11 +03:00 committed by GitHub
parent 71408ac096
commit 327046866c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -167,7 +167,7 @@ void main()
color *= SCANLINE * sin(fract(vTexCoord.y*SourceSize.y/SCALE)*3.141529) +(1.0-SCANLINE); color *= SCANLINE * sin(fract(vTexCoord.y*SourceSize.y/SCALE)*3.141529) +(1.0-SCANLINE);
color = pow(color,vec3(INGAMMA)); 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 *= mix(1.0,BOOST,lum);
color *= vec3(1.0+WPR, 1.0-WPR/2.0, 1.0-WPR/2.0); color *= vec3(1.0+WPR, 1.0-WPR/2.0, 1.0-WPR/2.0);