summaryrefslogtreecommitdiffstatshomepage
path: root/bgfx/effects/misc/deposterize-pass1.json
diff options
context:
space:
mode:
Diffstat (limited to 'bgfx/effects/misc/deposterize-pass1.json')
-rw-r--r--bgfx/effects/misc/deposterize-pass1.json37
1 files changed, 37 insertions, 0 deletions
diff --git a/bgfx/effects/misc/deposterize-pass1.json b/bgfx/effects/misc/deposterize-pass1.json
new file mode 100644
index 00000000000..6a62aa36753
--- /dev/null
+++ b/bgfx/effects/misc/deposterize-pass1.json
@@ -0,0 +1,37 @@
+// license:GPL-2.0+
+// copyright-holders:Hyllian
+
+/*
+ Hyllian's Deposterize Shader - Pass1
+
+ Copyright (C) 2011/2016 Hyllian/Jararaca - sergiogdb@gmail.com
+*/
+
+{
+ "blend": {
+ "equation": "add",
+ "srcColor": "1",
+ "dstColor": "0",
+ "srcAlpha": "1",
+ "dstAlpha": "0"
+ },
+ "depth": {
+ "function": "always",
+ "writeenable": false
+ },
+ "cull": {
+ "mode": "none"
+ },
+ "write": {
+ "rgb": true,
+ "alpha": true
+ },
+ "vertex": "chains/misc/vs_deposterize-pass1",
+ "fragment": "chains/misc/fs_deposterize-pass1",
+ "uniforms": [
+ { "name": "decal", "type": "int", "values": [ 1.0 ] },
+ { "name": "EQ_THRESH2", "type": "vec4", "values": [ 0.01, 0.0, 0.0, 0.0 ] },
+ { "name": "DIFF_THRESH2", "type": "vec4", "values": [ 0.06, 0.0, 0.0, 0.0 ] },
+ { "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
+ ]
+} \ No newline at end of file