summaryrefslogtreecommitdiffstatshomepage
path: root/bgfx/effects/gui_blend.json
diff options
context:
space:
mode:
author therealmogminer@gmail.com <therealmogminer@gmail.com>2016-03-25 18:44:18 +0100
committer therealmogminer@gmail.com <therealmogminer@gmail.com>2016-03-25 18:44:46 +0100
commit22f0c31238f40e79902d88c9860d4aebc228424d (patch)
treefacb6e639bdf31a3c424bbd73413a8af4bf1bb15 /bgfx/effects/gui_blend.json
parent37a32099cd8072362a3ab56929bb4dddc751794a (diff)
Cleanup in the bgfx aisle, nw
Diffstat (limited to 'bgfx/effects/gui_blend.json')
-rw-r--r--bgfx/effects/gui_blend.json20
1 files changed, 14 insertions, 6 deletions
diff --git a/bgfx/effects/gui_blend.json b/bgfx/effects/gui_blend.json
index d8cfda51672..2ef99b816e7 100644
--- a/bgfx/effects/gui_blend.json
+++ b/bgfx/effects/gui_blend.json
@@ -1,18 +1,26 @@
+// license:BSD-3-Clause
+// copyright-holders:Ryan Holtz
+//============================================================
+//
+// gui_blend.json: Generic modulate-blend shader for GUI
+// elements.
+//
+//============================================================
{
"blend": {
"equation": "add",
- "srcColor": "srcAlpha",
- "dstColor": "1-srcAlpha",
- "srcAlpha": "srcAlpha",
- "dstAlpha": "1-srcAlpha"
+ "srcColor": "srcalpha",
+ "dstColor": "1-srcalpha",
+ "srcAlpha": "srcalpha",
+ "dstAlpha": "1-srcalpha"
},
"depth": {
"function": "always"
},
"cull": { "mode": "none" },
"write": {
- "rgb": "true",
- "alpha": "true"
+ "rgb": true,
+ "alpha": true
},
"vertex": "vs_gui",
"fragment": "fs_gui",