67 lines
1 KiB
JSON
Executable file
67 lines
1 KiB
JSON
Executable file
{
|
|
"contexts": [
|
|
{
|
|
"id": "deferred_attrib",
|
|
"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"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"ifdef": "_Skinning"
|
|
}
|
|
],
|
|
"vertex_shader": "deferred_attrib.vert.glsl",
|
|
"fragment_shader": "deferred_attrib.frag.glsl"
|
|
}
|
|
]
|
|
}
|