68 lines
1.4 KiB
JSON
68 lines
1.4 KiB
JSON
{
|
|
"contexts": [
|
|
{
|
|
"name": "blur_bilat_pass_x",
|
|
"depth_write": false,
|
|
"compare_mode": "always",
|
|
"cull_mode": "none",
|
|
"links": [
|
|
{
|
|
"name": "dir",
|
|
"link": "_vec2x"
|
|
},
|
|
{
|
|
"name": "screenSize",
|
|
"link": "_screenSize"
|
|
}
|
|
],
|
|
"texture_params": [],
|
|
"vertex_shader": "../include/pass.vert.glsl",
|
|
"fragment_shader": "blur_bilat_pass.frag.glsl"
|
|
},
|
|
{
|
|
"name": "blur_bilat_pass_y",
|
|
"depth_write": false,
|
|
"compare_mode": "always",
|
|
"cull_mode": "none",
|
|
"links": [
|
|
{
|
|
"name": "dir",
|
|
"link": "_vec2y"
|
|
},
|
|
{
|
|
"name": "screenSize",
|
|
"link": "_screenSize"
|
|
}
|
|
],
|
|
"texture_params": [],
|
|
"vertex_shader": "../include/pass.vert.glsl",
|
|
"fragment_shader": "blur_bilat_pass.frag.glsl"
|
|
},
|
|
{
|
|
"name": "blur_bilat_pass_y_blend",
|
|
"depth_write": false,
|
|
"compare_mode": "always",
|
|
"cull_mode": "none",
|
|
"blend_source": "blend_one",
|
|
"blend_destination": "blend_one",
|
|
"blend_operation": "add",
|
|
"alpha_blend_source": "blend_one",
|
|
"alpha_blend_destination": "blend_one",
|
|
"alpha_blend_operation": "add",
|
|
"links": [
|
|
{
|
|
"name": "dir",
|
|
"link": "_vec2y"
|
|
},
|
|
{
|
|
"name": "screenSize",
|
|
"link": "_screenSize"
|
|
}
|
|
],
|
|
"texture_params": [],
|
|
"vertex_shader": "../include/pass.vert.glsl",
|
|
"fragment_shader": "blur_bilat_pass.frag.glsl"
|
|
}
|
|
]
|
|
}
|