2016-03-15 11:29:53 +01:00
|
|
|
{
|
|
|
|
"contexts": [
|
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "ssao_pass",
|
2016-03-15 11:29:53 +01:00
|
|
|
"params": [
|
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "depth_write",
|
2016-07-24 19:15:36 +02:00
|
|
|
"value": "false"
|
2016-03-15 11:29:53 +01:00
|
|
|
},
|
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "compare_mode",
|
2016-03-15 11:29:53 +01:00
|
|
|
"value": "always"
|
|
|
|
},
|
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "cull_mode",
|
2016-03-15 11:29:53 +01:00
|
|
|
"value": "none"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"links": [
|
2016-04-15 00:02:32 +02:00
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "snoise",
|
2016-04-15 00:02:32 +02:00
|
|
|
"link": "_noise8"
|
2016-04-17 16:07:54 +02:00
|
|
|
},
|
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "invVP",
|
2016-04-20 19:35:22 +02:00
|
|
|
"link": "_inverseViewProjectionMatrix"
|
2016-04-17 16:07:54 +02:00
|
|
|
},
|
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "eye",
|
2016-04-17 16:07:54 +02:00
|
|
|
"link": "_cameraPosition"
|
2016-06-21 13:29:27 +02:00
|
|
|
},
|
2016-08-07 23:12:14 +02:00
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "eyeLook",
|
2016-08-07 23:12:14 +02:00
|
|
|
"link": "_cameraLook",
|
|
|
|
"ifdef": ["_Disabled"]
|
|
|
|
},
|
2016-06-21 13:29:27 +02:00
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "screenSize",
|
2016-06-21 13:29:27 +02:00
|
|
|
"link": "_screenSize"
|
|
|
|
},
|
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "aspectRatio",
|
2016-06-21 13:29:27 +02:00
|
|
|
"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"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|