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