43 lines
792 B
JSON
Executable file
43 lines
792 B
JSON
Executable file
{
|
|
"contexts": [
|
|
{
|
|
"name": "ssao_pass",
|
|
"depth_write": false,
|
|
"color_write_alpha": false,
|
|
"color_write_green": false,
|
|
"color_write_blue": false,
|
|
"compare_mode": "always",
|
|
"cull_mode": "none",
|
|
"links": [
|
|
{
|
|
"name": "snoise",
|
|
"link": "_noise8"
|
|
},
|
|
{
|
|
"name": "invVP",
|
|
"link": "_inverseViewProjectionMatrix"
|
|
},
|
|
{
|
|
"name": "eye",
|
|
"link": "_cameraPosition"
|
|
},
|
|
{
|
|
"name": "eyeLook",
|
|
"link": "_cameraLook",
|
|
"ifdef": ["_Disabled"]
|
|
},
|
|
{
|
|
"name": "screenSize",
|
|
"link": "_screenSize"
|
|
},
|
|
{
|
|
"name": "aspectRatio",
|
|
"link": "_aspectRatio"
|
|
}
|
|
],
|
|
"texture_params": [],
|
|
"vertex_shader": "../include/pass.vert.glsl",
|
|
"fragment_shader": "ssao_pass.frag.glsl"
|
|
}
|
|
]
|
|
}
|