1// license:BSD-3-Clause 2// copyright-holders:Ryan Holtz 3//============================================================ 4// 5// screen_opaque.json: Shader used when drawing a final 6// post-processed screen image to the output window with 7// no blending. 8// 9//============================================================ 10{ 11 "blend": { 12 "equation": "add", 13 "srcColor": "1", 14 "dstColor": "0", 15 "srcAlpha": "1", 16 "dstAlpha": "0" 17 }, 18 "depth": { 19 "function": "always" 20 }, 21 "cull": { "mode": "none" }, 22 "write": { 23 "rgb": true, 24 "alpha": true 25 }, 26 "vertex": "vs_screen", 27 "fragment": "fs_screen", 28 "uniforms": [ 29 { "name": "s_tex", "type": "int", "values": [ 1.0 ] } 30 ] 31}