mame/bgfx/effects/gui_multiply.json
Vas Crabb 0c49c74ada srcclean: Added JSON cleaning support, and some cleanup.
Made pbobble parent of bublbust, as it seems to be more widespread and
more complete.  Also fixed some ROM labels for bublbust.

Made tbyahhoo parent of mtwinbee as the latter has substantial content
removed rather than being localised, making it less complete.

Applied srcclean to JSON files in bgfx subtree.
2021-08-20 05:52:27 +10:00

30 lines
633 B
JSON

// license:BSD-3-Clause
// copyright-holders:Ryan Holtz
//============================================================
//
// gui_multiply.json: Generic multiplicative blend shader
// for GUI elements.
//
//============================================================
{
"blend": {
"equation": "add",
"srcColor": "dstcolor",
"dstColor": "0",
"srcAlpha": "dstalpha",
"dstAlpha": "0"
},
"depth": {
"function": "always"
},
"cull": { "mode": "none" },
"write": {
"rgb": true,
"alpha": true
},
"vertex": "vs_gui",
"fragment": "fs_gui",
"uniforms": [
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] }
]
}