> > The "CRT-geom" filter usually has Magenta/Green stripes in other emulators but > hasn't > > in MAME because to do it right the shader needed to know what resolution was being > > output and MAME didn't give that to the shaders in GLSL (I think...) > > MAME SVN was recently updated to always fill out the "screen_texture_sz" uniform with > the output resolution. I also fixed a bug where that resolution was wrong for > multi-head Linux/BSD setups. > > If there's anything else that would be useful to have in uniforms, let me know; 0.154 > will likely be frozen and released about a week from now so if we can lock in better > GLSL support before then it'd be useful.
Well I don't really need anything else. I had re-added the aperture mask effect before but had it hardcoded to my preferred resolution. It was easy to make it work properly once you added the "screen_texture_sz" uniform. The few other things I changed were color adjustments and such that don't need anything more from the GLSL system. I guess that some people may want more complicated stuff (access to previous frames for blending, extra textures to render to for bloom effects (isn't that how they do it?)) but I'm pretty happy the way it is. If the shader could be longer, then I could add different horizontal scaling types, but this is really not necessary because I could just switch it to cubic (instead of lanczos) scaling and use different values of "B" and "C" to adjust blur/sharpness/ringing to preference.