2016-06-03 17:18:38 +02:00
|
|
|
{
|
|
|
|
"contexts": [
|
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "blur_gaus_pass_x",
|
2017-03-11 01:50:47 +01:00
|
|
|
"color_write_alpha": false,
|
2016-10-17 12:02:41 +02:00
|
|
|
"depth_write": false,
|
|
|
|
"compare_mode": "always",
|
|
|
|
"cull_mode": "none",
|
2016-06-03 17:18:38 +02:00
|
|
|
"links": [
|
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "dir",
|
2016-06-03 17:18:38 +02:00
|
|
|
"link": "_vec2x"
|
2016-07-24 19:15:36 +02:00
|
|
|
},
|
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "screenSize",
|
2017-11-16 08:52:42 +01:00
|
|
|
"link": "_screenSize"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"texture_params": [],
|
2017-12-20 15:37:58 +01:00
|
|
|
"vertex_shader": "../include/pass.vert.glsl",
|
2017-11-16 08:52:42 +01:00
|
|
|
"fragment_shader": "blur_gaus_pass.frag.glsl"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "blur_gaus_pass_y",
|
|
|
|
"color_write_alpha": false,
|
|
|
|
"depth_write": false,
|
|
|
|
"compare_mode": "always",
|
|
|
|
"cull_mode": "none",
|
|
|
|
"links": [
|
|
|
|
{
|
|
|
|
"name": "dir",
|
|
|
|
"link": "_vec2y"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "screenSize",
|
|
|
|
"link": "_screenSize"
|
2016-06-03 17:18:38 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"texture_params": [],
|
2017-12-20 15:37:58 +01:00
|
|
|
"vertex_shader": "../include/pass.vert.glsl",
|
2016-06-03 17:18:38 +02:00
|
|
|
"fragment_shader": "blur_gaus_pass.frag.glsl"
|
2016-08-07 01:43:21 +02:00
|
|
|
},
|
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "blur_gaus_pass_y_blend",
|
2017-03-11 01:50:47 +01:00
|
|
|
"color_write_alpha": false,
|
2016-10-17 12:02:41 +02:00
|
|
|
"depth_write": false,
|
|
|
|
"compare_mode": "always",
|
|
|
|
"cull_mode": "none",
|
|
|
|
"blend_source": "blend_one",
|
|
|
|
"blend_destination": "blend_one",
|
|
|
|
"blend_operation": "add",
|
2016-08-07 01:43:21 +02:00
|
|
|
"links": [
|
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "dir",
|
2016-08-07 01:43:21 +02:00
|
|
|
"link": "_vec2y"
|
|
|
|
},
|
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "screenSize",
|
2017-11-16 08:52:42 +01:00
|
|
|
"link": "_screenSize"
|
2016-08-07 01:43:21 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"texture_params": [],
|
2017-12-20 15:37:58 +01:00
|
|
|
"vertex_shader": "../include/pass.vert.glsl",
|
2016-08-07 01:43:21 +02:00
|
|
|
"fragment_shader": "blur_gaus_pass.frag.glsl"
|
2016-06-03 17:18:38 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|