armory/Shaders/ssao_pass/ssao_pass.json

36 lines
623 B
JSON
Raw Normal View History

2016-03-15 11:29:53 +01:00
{
"contexts": [
{
2016-08-25 00:26:01 +02:00
"name": "ssao_pass",
2016-10-17 12:02:41 +02:00
"depth_write": false,
"compare_mode": "always",
"cull_mode": "none",
2016-03-15 11:29:53 +01:00
"links": [
2016-04-17 16:07:54 +02:00
{
2016-08-25 00:26:01 +02:00
"name": "invVP",
"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",
2018-12-05 17:47:45 +01:00
"link": "_cameraLook"
},
{
"name": "cameraProj",
"link": "_cameraPlaneProj"
2016-08-07 23:12:14 +02:00
},
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-04-15 00:02:32 +02:00
}
2016-03-15 11:29:53 +01:00
],
"texture_params": [],
2018-12-05 17:47:45 +01:00
"vertex_shader": "../include/pass_viewray.vert.glsl",
2016-03-15 11:29:53 +01:00
"fragment_shader": "ssao_pass.frag.glsl"
}
]
}