summaryrefslogtreecommitdiffstatshomepage
path: root/bgfx/effects/screen_opaque.json
diff options
context:
space:
mode:
Diffstat (limited to 'bgfx/effects/screen_opaque.json')
-rw-r--r--bgfx/effects/screen_opaque.json10
1 files changed, 2 insertions, 8 deletions
diff --git a/bgfx/effects/screen_opaque.json b/bgfx/effects/screen_opaque.json
index 928ffdc5462..b94c06d39d9 100644
--- a/bgfx/effects/screen_opaque.json
+++ b/bgfx/effects/screen_opaque.json
@@ -8,13 +8,6 @@
//
//============================================================
{
- "blend": {
- "equation": "add",
- "srcColor": "1",
- "dstColor": "0",
- "srcAlpha": "1",
- "dstAlpha": "0"
- },
"depth": {
"function": "always"
},
@@ -26,6 +19,7 @@
"vertex": "vs_screen",
"fragment": "fs_screen",
"uniforms": [
- { "name": "s_tex", "type": "int", "values": [ 1.0 ] }
+ { "name": "s_tex", "type": "int", "values": [ 1.0 ] },
+ { "name": "u_inv_view_dims", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
]
}