armory/raw/ssao_pass/ssao_pass.shader.json
2016-04-17 16:07:54 +02:00

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"
}
]
}