summaryrefslogtreecommitdiffstatshomepage
path: root/bgfx/effects/gui_multiply.json
diff options
context:
space:
mode:
Diffstat (limited to 'bgfx/effects/gui_multiply.json')
-rw-r--r--bgfx/effects/gui_multiply.json16
1 files changed, 12 insertions, 4 deletions
diff --git a/bgfx/effects/gui_multiply.json b/bgfx/effects/gui_multiply.json
index fa70d303aec..14551be8190 100644
--- a/bgfx/effects/gui_multiply.json
+++ b/bgfx/effects/gui_multiply.json
@@ -1,9 +1,17 @@
+// license:BSD-3-Clause
+// copyright-holders:Ryan Holtz
+//============================================================
+//
+// gui_multiply.json: Generic multiplicative blend shader
+// for GUI elements.
+//
+//============================================================
{
"blend": {
"equation": "add",
- "srcColor": "dstColor",
+ "srcColor": "dstcolor",
"dstColor": "0",
- "srcAlpha": "dstAlpha",
+ "srcAlpha": "dstalpha",
"dstAlpha": "0"
},
"depth": {
@@ -11,8 +19,8 @@
},
"cull": { "mode": "none" },
"write": {
- "rgb": "true",
- "alpha": "true"
+ "rgb": true,
+ "alpha": true
},
"vertex": "vs_gui",
"fragment": "fs_gui",