> Did you ever see R.Belmont's conversion of the NTSC shader MooglyGuy wrote? It was > posted here: > > http://forums.bannister.org/ubbthreads.php?ubb=showflat&Number=94686#Post94686 > > It works pretty well from what I remember. The version on my PC has been edited so > much that I'm not sure I remember how the default version worked. Note that for the > most accurate effect, you'll need to set at least the color subcarrier frequency > (just 3.579545 for NTSC), and then the ScanTime variable based on how many pixels the > system outputs per period. > > So you'd want to use something like 44.6984 (=640/3.579545/4) for ScanTime to get > correct artifact colors out of a PC with composite CGA. OR 39.911112 > (=560/3.579545/4) for an APPLE IIe. Don't know about consoles. Probably you'll > "divide by 2" instead of "4". So the genesis (not always 320 width but...) should > probably be 320/3.579545/2 and you'll get the same answer as for CGA. Or something > like that. > > Also, many systems will need an extra phase shift added for correct colors. The > setting is called "OValue" in the HLSL version but missing from the GLSL I linked. > > I'll take a look at separating some of the CRT shader out into separate passes. I > started doing this before and ended up making things slower but maybe I'll have more > luck this time.
That looks damn nice! I've got a lot of learning to do I think. Before I can use my brain to create shaders instead of modifying other peoples releases.