armory/raw/ssao_pass/ssao_pass.shader.json

52 lines
804 B
JSON
Raw Normal View History

2016-03-15 11:29:53 +01:00
{
"contexts": [
{
"id": "ssao_pass",
"params": [
{
"id": "depth_write",
2016-07-24 19:15:36 +02:00
"value": "false"
2016-03-15 11:29:53 +01:00
},
{
"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
},
{
"id": "invVP",
"link": "_inverseViewProjectionMatrix"
2016-04-17 16:07:54 +02:00
},
{
"id": "eye",
"link": "_cameraPosition"
2016-06-21 13:29:27 +02:00
},
2016-08-07 23:12:14 +02:00
{
"id": "eyeLook",
"link": "_cameraLook",
"ifdef": ["_Disabled"]
},
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"
}
]
}