armory/raw/ssao_pass/ssao_pass.shader.json

51 lines
777 B
JSON
Raw Normal View History

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
},
{
"id": "invP",
"link": "_inverseProjectionMatrix"
},
{
"id": "invV",
"link": "_inverseViewMatrix"
},
{
"id": "eye",
"link": "_cameraPosition"
},
{
"id": "tiV",
"link": "_transposeInverseViewMatrix"
},
{
"id": "P",
"link": "_projectionMatrix"
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"
}
]
}