MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

SoltanGris42
MAME Fan
Reged: 11/16/13
Posts: 134
Send PM
Re: Slot Mask
07/17/14 09:14 PM


> > 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.







Entire thread
Subject Posted by Posted on
* Use custom shaders on windows?? tjcbs 06/08/14 04:15 AM
. * Custom files (The link is here.) Dullaron  07/14/14 09:06 AM
. * Re: Custom files (The link is here.) Traso  07/15/14 07:49 AM
. * Re: Custom files (The link is here.) Dullaron  07/15/14 08:11 AM
. * Re: Custom files (The link is here.) lamprey  07/16/14 12:00 AM
. * Re: Custom files (The link is here.) Dullaron  07/16/14 12:04 AM
. * Re: Custom files (The link is here.) lamprey  07/23/14 08:10 AM
. * Re: Custom files (The link is here.) Dullaron  07/23/14 08:38 AM
. * Re: Custom files (The link is here.) lamprey  07/23/14 06:24 PM
. * Re: Custom files (The link is here.) Dullaron  07/25/14 05:04 AM
. * Re: Custom files (The link is here.) lamprey  07/25/14 08:02 AM
. * Re: Custom files (The link is here.) Dullaron  07/25/14 08:16 AM
. * Re: Custom files (The link is here.) lamprey  07/23/14 04:34 AM
. * Re: Custom files (The link is here.) Dullaron  07/23/14 06:10 AM
. * I bet you can't do this. Dullaron  06/22/14 04:54 AM
. * Re: I bet you can't do this. Traso  06/22/14 06:59 AM
. * Re: I bet you can't do this. Dullaron  06/22/14 08:31 AM
. * Re: I bet you can't do this. Traso  06/24/14 03:25 AM
. * Re: I bet you can't do this. Vas Crabb  06/24/14 05:10 AM
. * Re: I bet you can't do this. Dullaron  06/24/14 06:20 AM
. * Re: I bet you can't do this. lamprey  06/24/14 05:16 PM
. * Re: I bet you can't do this. Traso  06/25/14 07:51 PM
. * I'm seeing shades of Driver Man..... Traso  06/19/14 08:35 AM
. * Here is dkong. :) Dullaron  06/17/14 12:57 AM
. * Re: Here is dkong. :) lamprey  07/08/14 09:20 PM
. * Re: Here is dkong. :) evh347  07/08/14 06:51 PM
. * Re: Here is dkong. :) lamprey  07/10/14 05:18 AM
. * Re: Here is dkong. :) CiroConsentino  06/17/14 02:30 AM
. * Re: Here is dkong. :) Dullaron  06/17/14 05:17 AM
. * Here are some mods that I done. Dullaron  06/14/14 03:02 AM
. * Slot Mask lamprey  07/11/14 05:53 AM
. * Re: Slot Mask SoltanGris42  07/11/14 06:50 AM
. * Re: Slot Mask R. Belmont  07/16/14 05:41 PM
. * Re: Slot Mask SoltanGris42  07/17/14 09:14 PM
. * Re: Slot Mask tjcbs  07/19/14 12:17 AM
. * Re: Slot Mask R. Belmont  07/22/14 08:40 PM
. * Re: Slot Mask tjcbs  07/24/14 08:12 PM
. * Re: Slot Mask lamprey  07/11/14 10:16 PM
. * Re: Slot Mask SoltanGris42  07/12/14 12:59 AM
. * Re: Slot Mask R. Belmont  07/16/14 05:45 PM
. * Re: Slot Mask Dullaron  07/17/14 11:40 PM
. * Re: Slot Mask lamprey  07/12/14 07:58 PM
. * One more. I call this one a TV. Edit: New changes. Dullaron  06/14/14 10:23 AM
. * Re: One more. I call this one a TV. Edit: New changes. Heihachi_73  06/15/14 06:32 AM
. * my shader. tjcbs  06/16/14 03:41 PM
. * More Monstrosities tjcbs  06/17/14 11:08 PM
. * Re: More Monstrosities AWJ  06/18/14 12:47 AM
. * Re: More Monstrosities tjcbs  06/18/14 01:45 AM
. * More Monstrosities tjcbs  06/17/14 11:05 PM
. * Re: More Monstrosities Vas Crabb  06/18/14 02:25 AM
. * Re: More Monstrosities tjcbs  06/18/14 02:45 AM
. * It looks terrible Sune  06/21/14 02:37 AM
. * Re: It looks terrible B2K24  06/21/14 03:43 AM
. * Re: It looks terrible Dullaron  06/21/14 06:32 AM
. * Re: More Monstrosities Anonymous  06/21/14 12:54 AM
. * More Monstrosities tjcbs  06/17/14 11:03 PM
. * Re: More Monstrosities CiroConsentino  07/12/14 12:40 PM
. * Re: More Monstrosities tjcbs  07/14/14 04:36 AM
. * Re: More Monstrosities MooglyGuy  07/12/14 12:53 PM
. * Re: More Monstrosities CiroConsentino  07/12/14 06:55 PM
. * Re: More Monstrosities CiroConsentino  06/18/14 12:51 AM
. * Thanks! (nt) tjcbs  06/18/14 01:45 AM
. * Re: my shame. Tomu Breidah  06/17/14 06:50 AM
. * Re: my shader. Ramirez  06/16/14 10:29 PM
. * Re: my shader. MooglyGuy  06/16/14 07:57 PM
. * Re: my shader. tjcbs  06/16/14 08:40 PM
. * Re: my shader. bigbluefe  06/20/14 04:38 PM
. * Re: my shader. CiroConsentino  06/20/14 07:38 PM
. * Re: my shader. Vas Crabb  06/17/14 03:22 AM
. * Re: One more. I call this one a TV. Edit: New changes. RetroRepair  06/15/14 06:45 AM
. * Re: One more. I call this one a TV. Edit: New changes. Dullaron  06/16/14 03:01 AM
. * Re: Use custom shaders on windows?? SoltanGris42  06/08/14 07:22 AM
. * Re: Use custom shaders on windows?? tjcbs  06/08/14 09:42 AM
. * Re: Use custom shaders on windows?? MooglyGuy  06/08/14 02:24 PM
. * Re: Use custom shaders on windows?? tjcbs  06/08/14 10:07 PM
. * Re: Use custom shaders on windows?? SoltanGris42  06/08/14 11:55 PM
. * Re: Use custom shaders on windows?? tjcbs  06/10/14 09:26 AM
. * Re: Use custom shaders on windows?? R. Belmont  06/10/14 04:57 PM
. * Re: Use custom shaders on windows?? tjcbs  06/10/14 11:54 PM
. * Re: Use custom shaders on windows?? SoltanGris42  06/11/14 12:01 AM
. * Re: Use custom shaders on windows?? tjcbs  06/11/14 01:54 AM
. * Re: Use custom shaders on windows?? SoltanGris42  06/11/14 09:12 AM
. * Re: Use custom shaders on windows?? tjcbs  06/11/14 01:14 PM
. * Re: Use custom shaders on windows?? MooglyGuy  06/13/14 04:06 PM
. * Re: Use custom shaders on windows?? SoltanGris42  06/11/14 11:52 PM
. * Re: Use custom shaders on windows?? CiroConsentino  06/20/14 02:02 PM
. * Re: Use custom shaders on windows?? R. Belmont  06/20/14 05:07 PM
. * Re: Use custom shaders on windows?? CiroConsentino  06/20/14 07:36 PM
. * Re: Use custom shaders on windows?? Dullaron  06/20/14 12:33 PM
. * Re: Use custom shaders on windows?? etabeta  06/20/14 10:28 AM
. * Re: Use custom shaders on windows?? R. Belmont  06/20/14 05:09 PM
. * Re: Use custom shaders on windows?? etabeta  06/20/14 06:01 PM
. * Re: Use custom shaders on windows?? R. Belmont  06/20/14 10:11 PM
. * Re: Use custom shaders on windows?? tjcbs  06/12/14 05:02 AM
. * Re: Use custom shaders on windows?? Dullaron  06/11/14 11:54 AM
. * Re: Use custom shaders on windows?? TafoidAdministrator  06/11/14 12:52 PM
. * Re: Use custom shaders on windows?? Vas Crabb  06/11/14 01:18 PM
. * Re: Use custom shaders on windows?? Dullaron  06/11/14 01:21 PM
. * Re: Use custom shaders on windows?? Vas Crabb  06/11/14 01:38 PM
. * Re: Use custom shaders on windows?? TafoidAdministrator  06/11/14 01:47 PM
. * Re: Use custom shaders on windows?? R. Belmont  06/11/14 06:57 PM
. * Re: Use custom shaders on windows?? Dullaron  06/12/14 02:30 PM
. * Re: Use custom shaders on windows?? SoltanGris42  06/11/14 02:11 AM
. * Re: Use custom shaders on windows?? R. Belmont  06/11/14 06:58 PM
. * People who sweetheart the hip leap and chat culture Sune  06/12/14 03:40 AM
. * Re: Use custom shaders on windows?? Dullaron  06/09/14 12:39 AM
. * Re: Use custom shaders on windows?? SoltanGris42  06/09/14 01:12 AM
. * Re: Use custom shaders on windows?? Dullaron  06/09/14 05:08 AM
. * Re: Use custom shaders on windows?? SoltanGris42  06/09/14 06:04 AM
. * Re: Use custom shaders on windows?? Dullaron  06/10/14 09:32 AM
. * Re: Use custom shaders on windows?? Sune  06/08/14 10:10 PM
. * Re: Use custom shaders on windows?? tjcbs  06/08/14 11:39 PM
. * Re: Use custom shaders on windows?? CiroConsentino  06/08/14 02:01 PM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 20 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 18096