armory/Shaders/compositor_pass/compositor_pass.json

86 lines
1.6 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-12-20 01:39:16 +01:00
"ifdef": ["_CGlare"]
2016-10-23 15:32:26 +02:00
},
{
"name": "eye",
"link": "_cameraPosition",
2016-12-20 01:39:16 +01:00
"ifdef": ["_Disabled_CPos"]
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-12-20 01:39:16 +01:00
"ifdef": ["_CGlare"]
2016-10-23 15:32:26 +02:00
},
{
"name": "eyeLook",
"link": "_cameraLook",
2016-12-20 01:39:16 +01:00
"ifdef": ["_Disabled_CPos"]
2016-08-15 23:45:03 +02:00
},
{
2016-08-25 00:26:01 +02:00
"name": "invVP",
2016-08-15 23:45:03 +02:00
"link": "_inverseViewProjectionMatrix",
2016-12-20 01:39:16 +01:00
"ifdef": ["_Disabled_CPos"]
2016-04-03 23:25:53 +02:00
},
{
2016-08-25 00:26:01 +02:00
"name": "light",
"link": "_lightPosition",
2016-12-20 01:39:16 +01:00
"ifdef": ["_CGlare"]
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-12-20 01:39:16 +01:00
"ifdef": ["_CGlare"]
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-12-20 01:39:16 +01:00
"ifdef": ["_CGrain"]
2018-03-02 17:02:27 +01:00
},
2016-10-21 19:36:08 +02:00
{
"name": "texStep",
2016-11-06 21:23:21 +01:00
"link": "_screenSizeInv",
2018-03-02 17:02:27 +01:00
"ifdef": ["_CTexStep"]
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",
2016-10-23 15:32:26 +02:00
"link": "_aspectRatioF",
2016-12-20 01:39:16 +01:00
"ifdef": ["_CGlare"]
2017-02-25 17:13:22 +01:00
},
{
"name": "lensTexture",
"link": "_lensTexture",
"ifdef": ["_CLensTex"]
2017-11-04 18:35:34 +01:00
},
{
"name": "cameraProj",
"link": "_cameraPlaneProj",
2018-09-01 18:35:32 +02:00
"ifdef": ["_CCameraProj"]
},
{
"name": "lutTexture",
"link": "_lutTexture",
"ifdef": ["_CLUT"]
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
}
]
}