diff options
Diffstat (limited to 'bgfx/effects/tint.json')
-rw-r--r-- | bgfx/effects/tint.json | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/bgfx/effects/tint.json b/bgfx/effects/tint.json new file mode 100644 index 00000000000..19cd7687f15 --- /dev/null +++ b/bgfx/effects/tint.json @@ -0,0 +1,24 @@ +{ + "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": "vs_tint", + "fragment": "fs_tint", + "uniforms": [ + { "name": "s_tex", "type": "int", "values": [ 1.0 ] }, + { "name": "u_tint", "type": "vec4", "values": [ 1.0, 1.0, 1.0, 1.0 ] }, + { "name": "u_shift", "type": "vec4", "values": [ 0.1, 0.1, 0.0, 0.0 ] } + ] +}
\ No newline at end of file |