The picture is pretty strange though. Looks like cardboard and has strange vertical bars even with noevenstretch disabled. I'll investigate some more
Edit : with MASK_APERTURE_GRILL, the "vertical bars" do not appear anymore...
Edit 2 : except with vertical games apparently which look very bad (Gunbird).
I'll keep checking once in a while Very interesting !
Edit 3 : great news, for savestates, thanks ! And thanks again for all your great contributions !
The aperture mask patterns all should be pixel-for-pixel aligned to your window. So you shouldn't see any scaling artifacts from those at all (because no scaling is done). Unless the shader is doing something wrong... Is your resolution at 1080P or above? Below that is dicey. You might turn off curvature to see if that helps any.
As far as vertical games go, you need a lot of vertical resolution to avoid artifacts because the scanline width gets too close to width of the pixels on your lcd. Even 1920x1440 isn't quite enough. 4K will fix that right up for you. Or else you can rotate your monitor if it supports portrait mode.
But if you think something is rendering incorrectly, go ahead and post a screenshot, and I'll see if I can figure it out.
Yeah. What I posted here is complete BS. The shadow mask patterns just look bad when rotated. The solution is to rotate the patterns if the screen is going to be rotated. So either we'll need to versions of the shader + a switch inside to set horz/vert or the shader can guess which it should be based on resolution (it might not always guess correctly...)
The new hotness in shaders is this one from Nvidia's Timothy Lottes (it works on AMD cards too ;-)
It's a fine shader, but I've never quite understood the "new hotness" aspect to it � the design is fairly similar to what I first did five years ago, plus some overlays that can be more-or-less replicated using the "-effect" option that's been around for ages.
It's a fine shader, but I've never quite understood the "new hotness" aspect to it � the design is fairly similar to what I first did five years ago, plus some overlays that can be more-or-less replicated using the "-effect" option that's been around for ages.
Have you tried using an overlay with "-effect"? This png is fairly similar to the shadow mask from the first Timothy Lottes shader.
I agree with this. Better effect PNGs are all that's really needed. But I prefer to have the shadow mask effect in the shader so that the resulting loss of brightness can be corrected to preference there. Otherwise you (well, I do..) end up messing with a bunch of different overlay PNGs in photoshop.
Also, "new hotness" is a bit of an exaggeration since only ~20 people downloaded the newer version of it!
Anyway, just for fun, here is an effect png with GLSL diabled. The scanlines and shadowmask come from cropping an all white area from a rendered screenshot of the crt shader. Only works for this exact vertical resolution of course, but you can see what can be done with a clever overlay. If you disable glsl, run at 1080p, and use the PNG, it looks pretty good:
I only tried to get the shader working because I wanted to see it in MAME/MESS. And I posted it because Windows folks don't really know what the GLSL system can do. I like the CRT-geom shader just fine.
Just getting back to MAME fun lately after a long break. (I still have copies of MacMoon and Multi Pac archived for old time's sake, for anyone who remembers.)
Anyhow, for the past week I've been attempting to create an account on MAMEWorld's message board *specifically* to download the "Lottes_CRT" shader. Unfortunately, their email server must be having issues, as I can't get it to send the necessary verification email, nor a "password reminder" for an ancient account. (Either the server times out with a 504, or no email ever arrives.)
So, could someone please either point me to an alternate download source for this shader? Or could someone possibly email a copy to me?
I love CGWG's CRT-Geom, and have been having fun tweaking it, but would also like to experiment with the Lotte's shader.
Thanks in advance, and also THANK YOU to R. Belmont for keeping MAME available to Mac OS... the switch to SDL2 is great, BTW... finally Punch-Out! on TWO screens!
Just getting back to MAME fun lately after a long break. (I still have copies of MacMoon and Multi Pac archived for old time's sake, for anyone who remembers.)
Before my time (and I am still not a Mac user) but I did help compile CAESAR's massive list of archaic emulators back in the day. MacMoon 0.86 has been preserved here: http://caesar.logiqx.com/php/emulator.php?id=macmoon
Of course, CAESAR's been limping along the last half-dozen years or so as it is. I'm sure there's other download sites out there, looks like the author's site for MacMultiPac is still online at the same address even.