armory/raw/deferred_light/deferred_light.shader.json

73 lines
1.2 KiB
JSON
Raw Normal View History

2015-12-17 20:07:23 +01:00
{
"contexts": [
{
2016-03-15 11:29:53 +01:00
"id": "deferred_light",
2015-12-17 20:07:23 +01:00
"params": [
{
"id": "depth_write",
2016-03-18 23:02:00 +01:00
"value": "true"
2015-12-17 20:07:23 +01:00
},
{
"id": "compare_mode",
"value": "always"
},
{
"id": "cull_mode",
"value": "none"
}
],
"links": [
2016-03-20 18:44:11 +01:00
{
"id": "light",
"link": "_lightPosition"
},
{
"id": "eye",
"link": "_cameraPosition"
2016-03-22 23:35:54 +01:00
},
2016-04-17 16:07:54 +02:00
{
"id": "eyeLook",
"link": "_cameraLook"
2016-04-17 16:07:54 +02:00
},
{
"id": "invVP",
"link": "_inverseViewProjectionMatrix"
2016-04-17 16:07:54 +02:00
},
2016-03-22 23:35:54 +01:00
{
"id": "LMVP",
"link": "_lightModelViewProjectionMatrix"
2016-04-08 16:17:57 +02:00
},
{
"id": "senvmapIrradiance",
"link": "_envmapIrradiance"
},
{
"id": "senvmapRadiance",
"link": "_envmapRadiance"
},
{
"id": "senvmapBrdf",
"link": "_envmapBrdf"
2016-05-10 12:11:31 +02:00
},
{
"id": "sltcMat",
2016-05-12 21:03:23 +02:00
"link": "_ltcMat",
2016-05-15 12:12:21 +02:00
"ifdef": ["_PolyLight"]
2016-05-10 12:11:31 +02:00
},
{
"id": "sltcMag",
2016-05-12 21:03:23 +02:00
"link": "_ltcMag",
2016-05-15 12:12:21 +02:00
"ifdef": ["_PolyLight"]
2016-05-15 00:39:44 +02:00
},
{
"id": "time",
"link": "_time",
2016-05-15 12:12:21 +02:00
"ifdef": ["_PolyLight"]
2016-03-20 18:44:11 +01:00
}
2015-12-17 20:07:23 +01:00
],
2016-03-15 11:29:53 +01:00
"vertex_shader": "deferred_light.vert.glsl",
"fragment_shader": "deferred_light.frag.glsl"
2015-12-17 20:07:23 +01:00
}
]
}