2016-06-07 09:38:49 +02:00
|
|
|
{
|
|
|
|
"contexts": [
|
|
|
|
{
|
|
|
|
"id": "blur_edge_pass_x",
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"id": "depth_write",
|
2016-07-24 19:15:36 +02:00
|
|
|
"value": "false"
|
2016-06-07 09:38:49 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "compare_mode",
|
|
|
|
"value": "always"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "cull_mode",
|
|
|
|
"value": "none"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"links": [
|
|
|
|
{
|
|
|
|
"id": "dir",
|
|
|
|
"link": "_vec2x"
|
2016-06-21 13:29:27 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "screenSize",
|
|
|
|
"link": "_screenSize"
|
2016-06-07 09:38:49 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"texture_params": [],
|
|
|
|
"vertex_shader": "blur_edge_pass.vert.glsl",
|
|
|
|
"fragment_shader": "blur_edge_pass.frag.glsl"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "blur_edge_pass_y",
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"id": "depth_write",
|
2016-07-24 19:15:36 +02:00
|
|
|
"value": "false"
|
2016-06-07 09:38:49 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "compare_mode",
|
|
|
|
"value": "always"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "cull_mode",
|
|
|
|
"value": "none"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"links": [
|
|
|
|
{
|
|
|
|
"id": "dir",
|
|
|
|
"link": "_vec2y"
|
2016-06-21 13:29:27 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "screenSize",
|
|
|
|
"link": "_screenSize"
|
2016-06-07 09:38:49 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"texture_params": [],
|
|
|
|
"vertex_shader": "blur_edge_pass.vert.glsl",
|
|
|
|
"fragment_shader": "blur_edge_pass.frag.glsl"
|
2016-08-07 01:43:21 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "blur_edge_pass_y_blend",
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"id": "depth_write",
|
|
|
|
"value": "false"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "compare_mode",
|
|
|
|
"value": "always"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "cull_mode",
|
|
|
|
"value": "none"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "blend_source",
|
|
|
|
"value": "destination_color"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "blend_destination",
|
|
|
|
"value": "blend_zero"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "blend_operation",
|
|
|
|
"value": "add"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"links": [
|
|
|
|
{
|
|
|
|
"id": "dir",
|
|
|
|
"link": "_vec2y"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "screenSize",
|
|
|
|
"link": "_screenSize"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"texture_params": [],
|
|
|
|
"vertex_shader": "blur_edge_pass.vert.glsl",
|
|
|
|
"fragment_shader": "blur_edge_pass.frag.glsl"
|
2016-06-07 09:38:49 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|