mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-22 15:51:30 +11:00
Update crt-sines.slang
mask wasn't visible
This commit is contained in:
parent
71408ac096
commit
327046866c
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue