diff options
author | 2016-02-18 15:57:34 +0100 | |
---|---|---|
committer | 2016-02-21 03:03:23 +0100 | |
commit | 9a47a870df619656e9092f2f77622e84e640307a (patch) | |
tree | b8640bf79ffb55d0c9ed6fc27bbd4ce16a5e1a2e /bgfx/effects/gui_blend.json | |
parent | dadf8e7d79696996ab3ef840fe99a588ede538fa (diff) |
First take on render API reorg, nw
Diffstat (limited to 'bgfx/effects/gui_blend.json')
-rw-r--r-- | bgfx/effects/gui_blend.json | 22 |
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 |