fix scanlines misalignment/excessive moire (#396)

* integrate NTSC-colors

* Integrate NTSC-colors

* Integrate NTSC-colors, some fixes too

* additions

Added hue shift from grade, improved glow, added scanlines downscale to interlace mode. Some other touches too

* Update crt-consumer.slang

* fix scanlines misalignment
This commit is contained in:
metallic77 2023-04-19 20:30:14 +03:00 committed by GitHub
parent 396a2ed753
commit 91eb05f136
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -542,7 +542,7 @@ void main()
float lum = color.r * 0.3 + color.g * 0.6 + color.b * 0.1;
float f = center_dist.y+0.5; //fix excessive moire
float f = fract(fp.y -0.5);
if (global.inter > 0.5 && tex_size.y > 400.0) color = color;
else