armory/raw/forward/forward.shader.json

68 lines
1 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"
},
{
"id": "blend_source",
"value": "blend_one"
},
{
"id": "blend_destination",
"value": "blend_zero"
}
],
"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 17:46:01 +01:00
"texture_params": [],
2016-01-11 13:07:44 +01:00
"vertex_shader": "forward.vert.glsl",
"fragment_shader": "forward.frag.glsl"
2015-12-17 20:07:23 +01:00
}
]
}