summaryrefslogtreecommitdiffstatshomepage
path: root/bgfx/effects/gui_blend.json
diff options
context:
space:
mode:
author therealmogminer@gmail.com <therealmogminer@gmail.com>2016-02-18 15:57:34 +0100
committer therealmogminer@gmail.com <therealmogminer@gmail.com>2016-02-21 03:03:23 +0100
commit9a47a870df619656e9092f2f77622e84e640307a (patch)
treeb8640bf79ffb55d0c9ed6fc27bbd4ce16a5e1a2e /bgfx/effects/gui_blend.json
parentdadf8e7d79696996ab3ef840fe99a588ede538fa (diff)
First take on render API reorg, nw
Diffstat (limited to 'bgfx/effects/gui_blend.json')
-rw-r--r--bgfx/effects/gui_blend.json22
1 files changed, 22 insertions, 0 deletions
diff --git a/bgfx/effects/gui_blend.json b/bgfx/effects/gui_blend.json
new file mode 100644
index 00000000000..d8cfda51672
--- /dev/null
+++ b/bgfx/effects/gui_blend.json
@@ -0,0 +1,22 @@
+{
+ "blend": {
+ "equation": "add",
+ "srcColor": "srcAlpha",
+ "dstColor": "1-srcAlpha",
+ "srcAlpha": "srcAlpha",
+ "dstAlpha": "1-srcAlpha"
+ },
+ "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 ] }
+ ]
+} \ No newline at end of file