2016-03-15 11:29:53 +01:00
|
|
|
{
|
|
|
|
"contexts": [
|
|
|
|
{
|
|
|
|
"id": "ssao_pass",
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"id": "depth_write",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "compare_mode",
|
|
|
|
"value": "always"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "cull_mode",
|
|
|
|
"value": "none"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"links": [
|
2016-04-15 00:02:32 +02:00
|
|
|
{
|
|
|
|
"id": "snoise",
|
|
|
|
"link": "_noise8"
|
2016-04-17 16:07:54 +02:00
|
|
|
},
|
|
|
|
{
|
2016-04-20 19:35:22 +02:00
|
|
|
"id": "invVP",
|
|
|
|
"link": "_inverseViewProjectionMatrix"
|
2016-04-17 16:07:54 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "eye",
|
|
|
|
"link": "_cameraPosition"
|
2016-06-21 13:29:27 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "screenSize",
|
|
|
|
"link": "_screenSize"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "aspectRatio",
|
|
|
|
"link": "_aspectRatio"
|
2016-04-15 00:02:32 +02:00
|
|
|
}
|
2016-03-15 11:29:53 +01:00
|
|
|
],
|
|
|
|
"texture_params": [],
|
|
|
|
"vertex_shader": "ssao_pass.vert.glsl",
|
|
|
|
"fragment_shader": "ssao_pass.frag.glsl"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|