armory/Shaders/deferred_light/deferred_light.json

125 lines
2.3 KiB
JSON
Raw Normal View History

2015-12-17 20:07:23 +01:00
{
"contexts": [
{
2016-08-25 00:26:01 +02:00
"name": "deferred_light",
2016-10-17 12:02:41 +02:00
"depth_write": false,
2017-03-11 01:50:47 +01:00
"color_write_alpha": false,
2016-10-17 12:02:41 +02:00
"compare_mode": "greater",
"cull_mode": "counter_clockwise",
"blend_source": "blend_one",
"blend_destination": "blend_one",
"blend_operation": "add",
"alpha_blend_source": "blend_one",
"alpha_blend_destination": "blend_one",
"alpha_blend_operation": "add",
2015-12-17 20:07:23 +01:00
"links": [
2016-08-09 23:51:40 +02:00
{
2016-08-25 00:26:01 +02:00
"name": "LVWVP",
"link": "_lampVolumeWorldViewProjectionMatrix"
2016-08-09 23:51:40 +02:00
},
2016-03-20 18:44:11 +01:00
{
2016-08-25 00:26:01 +02:00
"name": "lightPos",
"link": "_lampPosition"
2016-03-20 18:44:11 +01:00
},
2017-03-18 18:44:21 +01:00
{
2017-11-15 16:43:46 +01:00
"name": "lightProj",
"link": "_lampPlaneProj"
2017-03-18 18:44:21 +01:00
},
2016-06-26 12:11:51 +02:00
{
2016-08-25 00:26:01 +02:00
"name": "lightDir",
"link": "_lampDirection"
2016-06-26 12:11:51 +02:00
},
{
2016-08-25 00:26:01 +02:00
"name": "lightType",
"link": "_lampType"
2016-06-26 12:11:51 +02:00
},
2016-05-16 12:01:12 +02:00
{
2016-08-25 00:26:01 +02:00
"name": "lightColor",
2016-12-13 01:09:17 +01:00
"link": "_lampColor"
2016-11-05 20:57:04 +01:00
},
2017-03-11 01:50:47 +01:00
{
"name": "lightShadow",
"link": "_lampCastShadow"
},
2016-11-05 20:57:04 +01:00
{
"name": "texlampcolor",
"link": "_lampColorTexture",
"ifdef": ["_LampColTex"]
2016-05-16 12:01:12 +02:00
},
2017-08-17 14:37:04 +02:00
{
"name": "texIES",
"link": "_iesTexture",
"ifdef": ["_LampIES"]
},
2017-11-17 16:15:35 +01:00
{
"name": "lightPlane",
"link": "_lampPlane",
"ifdef": ["_SSS"]
},
2016-08-07 01:43:21 +02:00
{
2016-08-25 00:26:01 +02:00
"name": "shadowsBias",
"link": "_lampShadowsBias"
2016-08-07 01:43:21 +02:00
},
2016-06-26 12:11:51 +02:00
{
2017-03-11 01:50:47 +01:00
"name": "spotlightData",
"link": "_spotlampData"
2016-06-26 12:11:51 +02:00
},
2016-11-06 15:07:13 +01:00
{
"name": "lampArea0",
"link": "_lampArea0",
2017-11-27 14:29:21 +01:00
"ifdef": ["_LTC"]
2016-11-06 15:07:13 +01:00
},
{
"name": "lampArea1",
"link": "_lampArea1",
2017-11-27 14:29:21 +01:00
"ifdef": ["_LTC"]
2016-11-06 15:07:13 +01:00
},
{
"name": "lampArea2",
"link": "_lampArea2",
2017-11-27 14:29:21 +01:00
"ifdef": ["_LTC"]
2016-11-06 15:07:13 +01:00
},
{
"name": "lampArea3",
"link": "_lampArea3",
2017-11-27 14:29:21 +01:00
"ifdef": ["_LTC"]
2016-11-06 15:07:13 +01:00
},
{
"name": "sltcMat",
"link": "_ltcMat",
2017-11-27 14:29:21 +01:00
"ifdef": ["_LTC"]
2016-11-06 15:07:13 +01:00
},
{
"name": "sltcMag",
"link": "_ltcMag",
2017-11-27 14:29:21 +01:00
"ifdef": ["_LTC"]
2016-11-06 15:07:13 +01:00
},
2016-03-20 18:44:11 +01:00
{
2016-08-25 00:26:01 +02:00
"name": "eye",
2016-03-20 18:44:11 +01:00
"link": "_cameraPosition"
2016-03-22 23:35:54 +01:00
},
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-03-22 23:35:54 +01:00
{
2016-08-25 00:26:01 +02:00
"name": "LWVP",
"link": "_biasLampWorldViewProjectionMatrix"
2016-04-08 16:17:57 +02:00
},
2017-01-17 14:48:47 +01:00
{
"name": "VP",
"link": "_viewProjectionMatrix",
"ifdef": ["_SSRS"]
2017-06-06 18:29:33 +02:00
},
{
"name": "sdftex",
"link": "_sdfTexture",
"ifdef": ["_DFRS"]
2016-03-20 18:44:11 +01:00
}
2015-12-17 20:07:23 +01:00
],
2017-12-20 15:37:58 +01:00
"vertex_shader": "../include/pass_lamp_volume.vert.glsl",
2016-03-15 11:29:53 +01:00
"fragment_shader": "deferred_light.frag.glsl"
2015-12-17 20:07:23 +01:00
}
]
}