MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

SoltanGris42
MAME Fan
Reged: 11/16/13
Posts: 134
Send PM
Re: A new shader for those who want to use their entire screen space
04/18/16 06:40 PM


> > I feel like it should be possible to specify a single preset file that
> > combines both a layout and a set of screen chains for that layout, I just need to
> > figure out a good clean way of doing it. People shouldn't have to go copying .lay
> > files around just to use it.
>
> I wish you good luck and success with it and hope it will make it into 0173, which in
> turn will again have some very nice things for shader enthusiasts and i dont mean
> only this very nice feature here .
>
> I know you told me to discuss my request (the PM i send) at a later time, but i just
> have one single question, that could save me a lot of time: is it even possible to
> load a texture with BGFX, that lies "under" the gamescreen, the opposite of a
> "overlay" artwork file so to say?
> thank you in advance.

Well I guess the bgfx shaders allow different blending modes

But even without that if you load a texture then you can do whatever you want with it. So you can read a sample from the background texture, read a sample from the game source texture, and then, you know, add them together, or take the maximum, or multiply them, or whatever you want to do with them.

I haven't tried reading in any textures yet in a bgfx shader but since the aperture mask effect works in the hlsl chain, I guess texture loading must work. Although the shadow mask texture might be "special" since it's defined in the mame.ini instead of just in the shader json.







Entire thread
Subject Posted by Posted on
* A new shader for those who want to use their entire screen space MooglyGuy 04/17/16 08:48 PM
. * A part two for those who want to scroll out a long thread please. -NT- BIOS-D  09/23/21 09:36 PM
. * I did some changes. This is the way I like it. Dullaron  09/18/21 06:46 PM
. * Screenshots Dullaron  09/18/21 06:49 PM
. * I turn up on the colors. Dullaron  09/18/21 07:31 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  06/18/20 04:02 AM
. * Re: A new shader for those who want to use their entire screen space Voltron  06/23/20 02:22 AM
. * Re: A new shader for those who want to use their entire screen space MooglyGuy  06/23/20 03:24 AM
. * Re: A new shader for those who want to use their entire screen space Voltron  06/23/20 04:01 AM
. * Re: A new shader for those who want to use their entire screen space MooglyGuy  06/23/20 10:07 AM
. * Re: A new shader for those who want to use their entire screen space MooglyGuy  06/23/20 02:11 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  06/23/20 03:29 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  06/23/20 05:40 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  06/25/20 08:04 AM
. * Re: A new shader for those who want to use their entire screen space Vas Crabb  06/25/20 12:41 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  06/25/20 02:45 PM
. * Re: A new shader for those who want to use their entire screen space MooglyGuy  06/25/20 10:28 AM
. * Re: A new shader for those who want to use their entire screen space uman  06/27/20 02:40 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  06/27/20 03:24 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  06/28/20 05:22 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  06/28/20 07:51 PM
. * Re: A new shader for those who want to use their entire screen space uman  06/29/20 01:40 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  06/29/20 02:35 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  06/30/20 07:11 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  07/01/20 02:16 AM
. * Re: A new shader for those who want to use their entire screen space Envisaged0ne  07/01/20 03:32 AM
. * Re: A new shader for those who want to use their entire screen space Voltron  07/01/20 03:06 PM
. * Re: A new shader for those who want to use their entire screen space MooglyGuy  07/01/20 04:01 AM
. * Re: A new shader for those who want to use their entire screen space Voltron  07/01/20 03:14 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  07/02/20 03:52 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  07/02/20 07:42 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  07/03/20 12:00 AM
. * Re: A new shader for those who want to use their entire screen space Voltron  07/03/20 06:22 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  07/03/20 07:20 PM
. * Re: A new shader for those who want to use their entire screen space *DELETED* Voltron  07/03/20 10:42 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  07/04/20 06:14 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  07/06/20 10:22 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  07/07/20 05:48 AM
. * Re: A new shader for those who want to use their entire screen space LensLarque  07/08/20 06:32 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  07/08/20 07:29 PM
. * Re: A new shader for those who want to use their entire screen space MooglyGuy  07/12/20 04:15 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  07/13/20 04:14 PM
. * Re: A new shader for those who want to use their entire screen space Voltron  07/11/20 06:42 AM
. * Re: A new shader for those who want to use their entire screen space Voltron  06/25/20 02:42 PM
. * Re: A new shader for those who want to use their entire screen space TafoidAdministrator  06/18/20 05:09 AM
. * Re: A new shader for those who want to use their entire screen space Voltron  06/18/20 05:42 PM
. * Re: A new shader for those who want to use their entire screen space Ziggy100  06/18/20 11:32 AM
. * Re: A new shader for those who want to use their entire screen space Envisaged0ne  06/19/20 02:59 AM
. * Fuck you bitch *nt* MooglyGuy  06/18/20 12:22 PM
. * Re: A new shader for those who want to use their entire screen space Foxhack  04/21/16 06:17 PM
. * Re: A new shader for those who want to use their entire screen space LensLarque  04/20/16 04:40 PM
. * Re: A new shader for those who want to use their entire screen space Shoegazr  04/18/16 11:08 PM
. * Re: A new shader for those who want to use their entire screen space B2K24  04/19/16 05:37 AM
. * Took saving the image and magnifying it about 300%... Traso  04/19/16 11:21 PM
. * Re: Took saving the image and magnifying it about 300%... anikom15  04/19/16 11:32 PM
. * OH. I noticed but obviously didn't get that. Carry on.... [nt] Traso  04/20/16 12:04 AM
. * "...cool as h*ll" Tomu Breidah  04/18/16 09:56 AM
. * Re: A new shader for those who want to use their entire screen space Malmanian  04/18/16 08:11 AM
. * Re: A new shader for those who want to use their entire screen space Traso  04/19/16 11:17 PM
. * Re: A new shader for those who want to use their entire screen space Malmanian  04/20/16 03:12 PM
. * Re: A new shader for those who want to use their entire screen space MooglyGuy  04/18/16 01:09 PM
. * Re: A new shader for those who want to use their entire screen space Malmanian  04/20/16 03:27 PM
. * Re: A new shader for those who want to use their entire screen space B2K24  04/20/16 04:25 PM
. * Re: A new shader for those who want to use their entire screen space Malmanian  04/20/16 11:54 PM
. * Re: A new shader for those who want to use their entire screen space SoltanGris42  04/21/16 12:25 AM
. * Re: A new shader for those who want to use their entire screen space Malmanian  04/21/16 01:04 AM
. * Re: A new shader for those who want to use their entire screen space Firehawke  04/21/16 06:52 PM
. * Re: A new shader for those who want to use their entire screen space Haze  04/21/16 09:43 PM
. * Re: A new shader for those who want to use their entire screen space R. Belmont  04/22/16 05:05 PM
. * Re: A new shader for those who want to use their entire screen space Haze  04/22/16 05:40 PM
. * Re: A new shader for those who want to use their entire screen space R. Belmont  04/22/16 10:00 PM
. * Re: A new shader for those who want to use their entire screen space qwijibo  04/26/16 04:07 AM
. * thanks for updating Midway 8080 hardware emulation gregf  05/02/16 08:50 AM
. * Re: thanks for updating Midway 8080 hardware emulation lettuce  05/02/16 02:40 PM
. * Re: thanks for updating Midway 8080 hardware emulation lettuce  05/02/16 03:22 PM
. * Re: thanks for updating Midway 8080 hardware emulation B2K24  05/02/16 04:30 PM
. * Re: thanks for updating Midway 8080 hardware emulation lettuce  05/02/16 07:39 PM
. * Re: A new shader for those who want to use their entire screen space Firehawke  04/26/16 05:32 AM
. * Re: A new shader for those who want to use their entire screen space etabeta  04/22/16 05:57 AM
. * Re: A new shader for those who want to use their entire screen space Vas Crabb  04/18/16 08:53 AM
. * Re: A new shader for those who want to use their entire screen space Malmanian  04/18/16 09:52 AM
. * Re: A new shader for those who want to use their entire screen space B2K24  04/17/16 09:29 PM
. * Re: A new shader for those who want to use their entire screen space MooglyGuy  04/17/16 10:13 PM
. * Re: A new shader for those who want to use their entire screen space uman  04/18/16 09:45 AM
. * Re: A new shader for those who want to use their entire screen space SoltanGris42  04/18/16 06:40 PM
. * Re: A new shader for those who want to use their entire screen space uman  04/18/16 09:04 PM
. * Re: A new shader for those who want to use their entire screen space MooglyGuy  04/18/16 09:16 PM
. * Re: A new shader for those who want to use their entire screen space uman  04/18/16 10:19 PM

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