diff options
Diffstat (limited to 'bgfx/effects/misc/texconv_rgb32.json')
-rw-r--r-- | bgfx/effects/misc/texconv_rgb32.json | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/bgfx/effects/misc/texconv_rgb32.json b/bgfx/effects/misc/texconv_rgb32.json new file mode 100644 index 00000000000..9522eabf720 --- /dev/null +++ b/bgfx/effects/misc/texconv_rgb32.json @@ -0,0 +1,25 @@ +// license:BSD-3-Clause +// copyright-holders:Ryan Holtz +//=============================================================== +// +// texconv_rgb32.json: An opaque texture-to-target copy. +// +//=============================================================== +{ + "blend": { + "equation": "add", + "srcColor": "srcalpha", + "dstColor": "1-srcalpha", + "srcAlpha": "srcalpha", + "dstAlpha": "1-srcalpha" + }, + "depth": { "function": "always", "writeenable": false }, + "cull": { "mode": "none" }, + "write": { "rgb": true, "alpha": true }, + "vertex": "chains/misc/vs_blit", + "fragment": "chains/misc/fs_blit_rgb32", + "uniforms": [ + { "name": "s_tex", "type": "int", "values": [ 1.0 ] }, + { "name": "s_pal", "type": "int", "values": [ 1.0 ] } + ] +}
\ No newline at end of file |