armory/raw/forward/forward.shader.json

89 lines
1.4 KiB
JSON
Raw Normal View History

2015-12-17 20:07:23 +01:00
{
"contexts": [
{
2016-01-11 13:07:44 +01:00
"id": "forward",
2015-12-17 20:07:23 +01:00
"params": [
{
"id": "depth_write",
"value": "true"
},
{
"id": "compare_mode",
"value": "less"
},
{
"id": "cull_mode",
"value": "counter_clockwise"
}
],
"links": [
{
"id": "M",
"link": "_modelMatrix"
},
{
"id": "NM",
"link": "_normalMatrix"
},
{
"id": "V",
"link": "_viewMatrix"
},
{
"id": "P",
"link": "_projectionMatrix"
},
{
2016-01-31 00:20:07 +01:00
"id": "LMVP",
"link": "_lightModelViewProjectionMatrix"
2015-12-17 20:07:23 +01:00
},
{
"id": "light",
"link": "_lightPosition"
},
{
"id": "eye",
"link": "_cameraPosition"
},
{
"id": "skinBones",
"link": "_skinBones",
"ifdef": "_Skinning"
}
],
2016-01-11 13:07:44 +01:00
"vertex_shader": "forward.vert.glsl",
"fragment_shader": "forward.frag.glsl"
2016-02-07 23:03:52 +01:00
},
{
"id": "shadowmap",
"params": [
{
"id": "depth_write",
"value": "true"
},
{
"id": "compare_mode",
"value": "less"
},
{
"id": "cull_mode",
2016-03-09 13:08:46 +01:00
"value": "counter_clockwise"
2016-02-07 23:03:52 +01:00
}
],
"links": [
{
"id": "LMVP",
"link": "_lightModelViewProjectionMatrix"
2016-04-07 00:06:57 +02:00
},
{
"id": "skinBones",
"link": "_skinBones",
"ifdef": "_Skinning"
2016-02-07 23:03:52 +01:00
}
],
"vertex_shader": "shadowmap.vert.glsl",
"fragment_shader": "shadowmap.frag.glsl"
2015-12-17 20:07:23 +01:00
}
]
}