diff options
Diffstat (limited to 'bgfx/effects/crt-geom/phosphor_update.json')
-rw-r--r-- | bgfx/effects/crt-geom/phosphor_update.json | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/bgfx/effects/crt-geom/phosphor_update.json b/bgfx/effects/crt-geom/phosphor_update.json new file mode 100644 index 00000000000..c1808c8fb81 --- /dev/null +++ b/bgfx/effects/crt-geom/phosphor_update.json @@ -0,0 +1,29 @@ +{ + "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/crt-geom/vs_phosphor_update", + "fragment": "chains/crt-geom/fs_phosphor_update", + "uniforms": [ + { "name": "s_screen", "type": "int", "values": [ 0 ] }, + { "name": "s_phosphor", "type": "int", "values": [ 1 ] }, + { "name": "u_phosphor_power", "type": "vec4", "values": [ 1.3, 0.0, 0.0, 0.0 ] }, + { "name": "u_phosphor_amplitude","type": "vec4", "values": [ 0.2, 0.0, 0.0, 0.0 ] }, + { "name": "u_gamma", "type": "vec4", "values": [ 2.2, 0.0, 0.0, 0.0 ] } + ] +} |