summaryrefslogtreecommitdiffstatshomepage
path: root/bgfx/effects/misc/lut.json
diff options
context:
space:
mode:
Diffstat (limited to 'bgfx/effects/misc/lut.json')
-rw-r--r--bgfx/effects/misc/lut.json32
1 files changed, 32 insertions, 0 deletions
diff --git a/bgfx/effects/misc/lut.json b/bgfx/effects/misc/lut.json
new file mode 100644
index 00000000000..fede670f016
--- /dev/null
+++ b/bgfx/effects/misc/lut.json
@@ -0,0 +1,32 @@
+{
+ "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": "chains/misc/vs_lut",
+ "fragment": "chains/misc/fs_lut",
+ "uniforms": [
+ {
+ "name": "s_tex",
+ "type": "int",
+ "values": [ 1.0 ]
+ }, {
+ "name": "s_3dlut",
+ "type": "int",
+ "values": [ 1.0 ]
+ }
+ ]
+}