106 lines
1.7 KiB
JSON
Executable file
106 lines
1.7 KiB
JSON
Executable file
{
|
|
"contexts": [
|
|
{
|
|
"name": "blur_gaus_pass_x",
|
|
"params": [
|
|
{
|
|
"name": "depth_write",
|
|
"value": "false"
|
|
},
|
|
{
|
|
"name": "compare_mode",
|
|
"value": "always"
|
|
},
|
|
{
|
|
"name": "cull_mode",
|
|
"value": "none"
|
|
}
|
|
],
|
|
"links": [
|
|
{
|
|
"name": "dir",
|
|
"link": "_vec2x"
|
|
},
|
|
{
|
|
"name": "screenSize",
|
|
"link": "_screenSize"
|
|
}
|
|
],
|
|
"texture_params": [],
|
|
"vertex_shader": "blur_gaus_pass.vert.glsl",
|
|
"fragment_shader": "blur_gaus_pass.frag.glsl"
|
|
},
|
|
{
|
|
"name": "blur_gaus_pass_y",
|
|
"params": [
|
|
{
|
|
"name": "depth_write",
|
|
"value": "false"
|
|
},
|
|
{
|
|
"name": "compare_mode",
|
|
"value": "always"
|
|
},
|
|
{
|
|
"name": "cull_mode",
|
|
"value": "none"
|
|
}
|
|
],
|
|
"links": [
|
|
{
|
|
"name": "dir",
|
|
"link": "_vec2y"
|
|
},
|
|
{
|
|
"name": "screenSize",
|
|
"link": "_screenSize"
|
|
}
|
|
],
|
|
"texture_params": [],
|
|
"vertex_shader": "blur_gaus_pass.vert.glsl",
|
|
"fragment_shader": "blur_gaus_pass.frag.glsl"
|
|
},
|
|
{
|
|
"name": "blur_gaus_pass_y_blend",
|
|
"params": [
|
|
{
|
|
"name": "depth_write",
|
|
"value": "false"
|
|
},
|
|
{
|
|
"name": "compare_mode",
|
|
"value": "always"
|
|
},
|
|
{
|
|
"name": "cull_mode",
|
|
"value": "none"
|
|
},
|
|
{
|
|
"name": "blend_source",
|
|
"value": "blend_one"
|
|
},
|
|
{
|
|
"name": "blend_destination",
|
|
"value": "blend_one"
|
|
},
|
|
{
|
|
"name": "blend_operation",
|
|
"value": "add"
|
|
}
|
|
],
|
|
"links": [
|
|
{
|
|
"name": "dir",
|
|
"link": "_vec2y"
|
|
},
|
|
{
|
|
"name": "screenSize",
|
|
"link": "_screenSize"
|
|
}
|
|
],
|
|
"texture_params": [],
|
|
"vertex_shader": "blur_gaus_pass.vert.glsl",
|
|
"fragment_shader": "blur_gaus_pass.frag.glsl"
|
|
}
|
|
]
|
|
}
|