2016-07-22 23:25:07 +02:00
|
|
|
{
|
|
|
|
"contexts": [
|
|
|
|
{
|
2016-07-24 19:15:36 +02:00
|
|
|
"id": "debug_normals",
|
2016-07-22 23:25:07 +02:00
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"id": "depth_write",
|
2016-07-24 19:15:36 +02:00
|
|
|
"value": "false"
|
2016-07-22 23:25:07 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "compare_mode",
|
|
|
|
"value": "always"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "cull_mode",
|
|
|
|
"value": "none"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"links": [
|
|
|
|
{
|
|
|
|
"id": "eye",
|
|
|
|
"link": "_cameraPosition"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "eyeLook",
|
|
|
|
"link": "_cameraLook"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "invVP",
|
|
|
|
"link": "_inverseViewProjectionMatrix"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"texture_params": [],
|
2016-07-24 19:15:36 +02:00
|
|
|
"vertex_shader": "debug_normals.vert.glsl",
|
|
|
|
"fragment_shader": "debug_normals.frag.glsl"
|
2016-07-22 23:25:07 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|