2015-12-17 20:07:23 +01:00
|
|
|
{
|
|
|
|
"contexts": [
|
|
|
|
{
|
2016-04-15 00:02:32 +02:00
|
|
|
"id": "blur_pass_x",
|
2015-12-17 20:07:23 +01:00
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"id": "depth_write",
|
2016-07-24 19:15:36 +02:00
|
|
|
"value": "false"
|
2015-12-17 20:07:23 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "compare_mode",
|
|
|
|
"value": "always"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "cull_mode",
|
|
|
|
"value": "none"
|
|
|
|
}
|
|
|
|
],
|
2016-04-15 00:02:32 +02:00
|
|
|
"links": [
|
|
|
|
{
|
|
|
|
"id": "dir",
|
|
|
|
"link": "_vec2x"
|
2016-06-21 13:29:27 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "screenSize",
|
|
|
|
"link": "_screenSize"
|
2016-04-15 00:02:32 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"texture_params": [],
|
|
|
|
"vertex_shader": "blur_pass.vert.glsl",
|
|
|
|
"fragment_shader": "blur_pass.frag.glsl"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "blur_pass_y",
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"id": "depth_write",
|
2016-07-24 19:15:36 +02:00
|
|
|
"value": "false"
|
2016-04-15 00:02:32 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "compare_mode",
|
|
|
|
"value": "always"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "cull_mode",
|
|
|
|
"value": "none"
|
2016-06-21 13:29:27 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"links": [
|
2016-04-15 00:02:32 +02:00
|
|
|
{
|
|
|
|
"id": "dir",
|
|
|
|
"link": "_vec2y"
|
2016-06-21 13:29:27 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "screenSize",
|
|
|
|
"link": "_screenSize"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"texture_params": [],
|
|
|
|
"vertex_shader": "blur_pass.vert.glsl",
|
|
|
|
"fragment_shader": "blur_pass.frag.glsl"
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
"id": "blur_pass_x2",
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"id": "depth_write",
|
2016-07-24 19:15:36 +02:00
|
|
|
"value": "false"
|
2016-06-21 13:29:27 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "compare_mode",
|
|
|
|
"value": "always"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "cull_mode",
|
|
|
|
"value": "none"
|
2016-04-15 00:02:32 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"links": [
|
|
|
|
{
|
|
|
|
"id": "dir",
|
2016-06-21 13:29:27 +02:00
|
|
|
"link": "_vec2x2"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "screenSize",
|
|
|
|
"link": "_screenSize"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"texture_params": [],
|
|
|
|
"vertex_shader": "blur_pass.vert.glsl",
|
|
|
|
"fragment_shader": "blur_pass.frag.glsl"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "blur_pass_y2",
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"id": "depth_write",
|
2016-07-24 19:15:36 +02:00
|
|
|
"value": "false"
|
2016-06-21 13:29:27 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "compare_mode",
|
|
|
|
"value": "always"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "cull_mode",
|
|
|
|
"value": "none"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"links": [
|
|
|
|
{
|
|
|
|
"id": "dir",
|
|
|
|
"link": "_vec2y2"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "screenSize",
|
|
|
|
"link": "_screenSize"
|
2016-04-15 00:02:32 +02:00
|
|
|
}
|
|
|
|
],
|
2016-03-15 11:29:53 +01:00
|
|
|
"texture_params": [],
|
|
|
|
"vertex_shader": "blur_pass.vert.glsl",
|
|
|
|
"fragment_shader": "blur_pass.frag.glsl"
|
2015-12-17 20:07:23 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|