MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

SoltanGris42
MAME Fan
Reged: 11/16/13
Posts: 134
Send PM
Re: Slot Mask
07/11/14 06:50 AM


> Are there any shaders that emulate a slot mask? All I can seem to find are scan
> lines.

There are a variety of filters that simulate an aperture grill. Either with alternating Magenta and Green vertical stripes to get an an evenly spaced RGB stripe in only 2 pixels, or in a regular RGB pattern.

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

I hacked it back in when I saw that MAME could do it now, along with some other crap (tint, saturation, fading out the aperture grill for high luminance colors to keep brightness high, cubic instead of lanczos horizontal scaling) but I haven't posted it anywhere because I didn't know if any if it was done quite correctly and I didn't want to post shoddy modifications to someone else's code. I could zip it up and post it here as long as people understand that it was done by someone with no graphics coding experience...







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 350 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 18349