armory/Shaders/compositor_pass/compositor_pass.shader.json

68 lines
1.2 KiB
JSON
Raw Normal View History

2016-03-23 23:35:44 +01:00
{
"contexts": [
{
2016-08-25 00:26:01 +02:00
"name": "compositor_pass",
2016-10-17 12:02:41 +02:00
"depth_write": false,
"compare_mode": "always",
"cull_mode": "none",
2016-03-23 23:35:44 +01:00
"links": [
2016-04-01 19:44:53 +02:00
{
2016-08-25 00:26:01 +02:00
"name": "eye",
2016-06-30 13:22:05 +02:00
"link": "_cameraPosition",
2016-08-15 23:45:03 +02:00
"ifdef": ["_CompoPos"]
2016-05-06 11:13:46 +02:00
},
{
2016-08-25 00:26:01 +02:00
"name": "eyeLook",
2016-06-30 13:22:05 +02:00
"link": "_cameraLook",
2016-08-15 23:45:03 +02:00
"ifdef": ["_CompoPos"]
},
{
2016-08-25 00:26:01 +02:00
"name": "invVP",
2016-08-15 23:45:03 +02:00
"link": "_inverseViewProjectionMatrix",
"ifdef": ["_CompoPos"]
2016-04-03 23:25:53 +02:00
},
{
2016-08-25 00:26:01 +02:00
"name": "light",
"link": "_lampPosition",
2016-08-15 23:45:03 +02:00
"ifdef": ["_CompoGlare"]
2016-04-03 23:25:53 +02:00
},
{
2016-08-25 00:26:01 +02:00
"name": "VP",
2016-04-29 11:11:45 +02:00
"link": "_viewProjectionMatrix",
2016-08-15 23:45:03 +02:00
"ifdef": ["_CompoGlare"]
2016-05-06 11:13:46 +02:00
},
{
2016-08-25 00:26:01 +02:00
"name": "time",
2016-06-30 13:22:05 +02:00
"link": "_time",
2016-08-15 23:45:03 +02:00
"ifdef": ["_CompoGrain"]
2016-07-12 12:03:43 +02:00
},
2016-10-21 19:36:08 +02:00
{
"name": "texStep",
"link": "_screenSizeInv"
},
2016-07-12 12:03:43 +02:00
{
2016-08-25 00:26:01 +02:00
"name": "texStep",
2016-07-12 12:03:43 +02:00
"link": "_screenSizeInv",
2016-08-15 23:45:03 +02:00
"ifdef": ["_CompoFXAA"]
2016-10-19 17:46:13 +02:00
},
2016-10-21 19:36:08 +02:00
2016-10-19 17:46:13 +02:00
{
"name": "dynamicScale",
"link": "_dynamicScale",
"ifdef": ["_DynRes"]
2016-10-21 19:36:08 +02:00
},
{
"name": "aspectRatio",
"link": "_aspectRatio"
2016-04-01 19:44:53 +02:00
}
2016-03-23 23:35:44 +01:00
],
"texture_params": [],
2016-04-18 01:44:37 +02:00
"vertex_shader": "compositor_pass.vert.glsl",
"fragment_shader": "compositor_pass.frag.glsl"
2016-03-23 23:35:44 +01:00
}
]
}