50 lines
777 B
JSON
Executable file
50 lines
777 B
JSON
Executable file
{
|
|
"contexts": [
|
|
{
|
|
"id": "ssao_pass",
|
|
"params": [
|
|
{
|
|
"id": "depth_write",
|
|
"value": "true"
|
|
},
|
|
{
|
|
"id": "compare_mode",
|
|
"value": "always"
|
|
},
|
|
{
|
|
"id": "cull_mode",
|
|
"value": "none"
|
|
}
|
|
],
|
|
"links": [
|
|
{
|
|
"id": "snoise",
|
|
"link": "_noise8"
|
|
},
|
|
{
|
|
"id": "invP",
|
|
"link": "_inverseProjectionMatrix"
|
|
},
|
|
{
|
|
"id": "invV",
|
|
"link": "_inverseViewMatrix"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition"
|
|
},
|
|
{
|
|
"id": "tiV",
|
|
"link": "_transposeInverseViewMatrix"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix"
|
|
}
|
|
],
|
|
"texture_params": [],
|
|
"vertex_shader": "ssao_pass.vert.glsl",
|
|
"fragment_shader": "ssao_pass.frag.glsl"
|
|
}
|
|
]
|
|
}
|