// license:BSD-3-Clause
// copyright-holders:Ryan Holtz
//===============================================================
//
//  bcg_adjust.json: Brightness/Contrast/Gamma adjustment.
//
//===============================================================
{
    "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_bcg",
    "uniforms": [    	
    	{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
    	{ "name": "s_pal", "type": "int", "values": [ 1.0 ] },
    	{ "name": "u_inv_tex_size1", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
    ]
}