summaryrefslogtreecommitdiffstatshomepage
path: root/bgfx/effects/screen_add.json
diff options
context:
space:
mode:
Diffstat (limited to 'bgfx/effects/screen_add.json')
-rw-r--r--bgfx/effects/screen_add.json17
1 files changed, 13 insertions, 4 deletions
diff --git a/bgfx/effects/screen_add.json b/bgfx/effects/screen_add.json
index 43d110fc2d1..ed1d6aae00c 100644
--- a/bgfx/effects/screen_add.json
+++ b/bgfx/effects/screen_add.json
@@ -1,9 +1,18 @@
+// license:BSD-3-Clause
+// copyright-holders:Ryan Holtz
+//============================================================
+//
+// screen_add.json: Shader used when drawing a final
+// post-processed screen image to the output window with
+// additive blending.
+//
+//============================================================
{
"blend": {
"equation": "add",
- "srcColor": "srcAlpha",
+ "srcColor": "srcalpha",
"dstColor": "1",
- "srcAlpha": "srcAlpha",
+ "srcAlpha": "srcalpha",
"dstAlpha": "1"
},
"depth": {
@@ -11,8 +20,8 @@
},
"cull": { "mode": "none" },
"write": {
- "rgb": "true",
- "alpha": "true"
+ "rgb": true,
+ "alpha": true
},
"vertex": "vs_screen",
"fragment": "fs_screen",