52 lines
878 B
JSON
Executable file
52 lines
878 B
JSON
Executable file
{
|
|
"contexts": [
|
|
{
|
|
"name": "ssao_pass",
|
|
"params": [
|
|
{
|
|
"name": "depth_write",
|
|
"value": "false"
|
|
},
|
|
{
|
|
"name": "compare_mode",
|
|
"value": "always"
|
|
},
|
|
{
|
|
"name": "cull_mode",
|
|
"value": "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": "ssao_pass.vert.glsl",
|
|
"vertex_shader_path": "../include/pass.vert.glsl",
|
|
"fragment_shader": "ssao_pass.frag.glsl"
|
|
}
|
|
]
|
|
}
|