This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // NTSC-Adaptive — port of libretro/glsl-shaders ntsc/ntsc-adaptive (Themaister). | |
| // | |
| // Simulates an NTSC composite signal path: RGB is encoded to YIQ, chroma is | |
| // modulated per scanline, luma/chroma bleed via a crosstalk matrix, then a | |
| // horizontal FIR filter decodes back to RGB (rainbow artifacts, color bleed). | |
| // | |
| // Locked to Composite quality (1) + 2-phase carrier; preset/phase branches and | |
| // their uniforms have been stripped out for a single specialized variant. | |
| // | |
| // Setup: ColorRect (fullscreen) + ShaderMaterial with this shader on a top |