1// license:BSD-3-Clause
2// copyright-holders:Ryan Holtz
3//============================================================
4//
5//  gaussian.json: Separable gaussian blur.
6//
7//============================================================
8{
9    "blend": {
10    	"equation": "add",
11    	"srcColor": "srcalpha",
12    	"dstColor": "1-srcalpha",
13    	"srcAlpha": "srcalpha",
14    	"dstAlpha": "1-srcalpha"
15    },
16    "depth": {
17    	"function": "always"
18    },
19    "cull": { "mode": "none" },
20    "write": {
21    	"rgb": true,
22    	"alpha": true
23    },
24    "vertex": "chains/pillarbox_left_horizontal/vs_gaussian",
25    "fragment": "chains/pillarbox_left_horizontal/fs_gaussian",
26    "uniforms": [
27    	{ "name": "s_tex",       "type": "int",  "values": [ 1.0 ] },
28    	{ "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
29    	{ "name": "u_dimension", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] },
30    	{ "name": "u_radius",    "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] }
31    ]
32}