summaryrefslogtreecommitdiffstatshomepage
path: root/bgfx/effects/gui_opaque.json
diff options
context:
space:
mode:
Diffstat (limited to 'bgfx/effects/gui_opaque.json')
-rw-r--r--bgfx/effects/gui_opaque.json22
1 files changed, 22 insertions, 0 deletions
diff --git a/bgfx/effects/gui_opaque.json b/bgfx/effects/gui_opaque.json
new file mode 100644
index 00000000000..58d1a324d2d
--- /dev/null
+++ b/bgfx/effects/gui_opaque.json
@@ -0,0 +1,22 @@
+{
+ "blend": {
+ "equation": "add",
+ "srcColor": "1",
+ "dstColor": "0",
+ "srcAlpha": "1",
+ "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 ] }
+ ]
+} \ No newline at end of file