2016-07-22 23:25:07 +02:00
|
|
|
{
|
|
|
|
"contexts": [
|
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "debug_normals",
|
2016-10-17 12:02:41 +02:00
|
|
|
"depth_write": false,
|
2017-03-11 01:50:47 +01:00
|
|
|
"color_write_alpha": false,
|
2016-10-17 12:02:41 +02:00
|
|
|
"compare_mode": "always",
|
|
|
|
"cull_mode": "none",
|
2016-07-22 23:25:07 +02:00
|
|
|
"links": [
|
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "eye",
|
2016-07-22 23:25:07 +02:00
|
|
|
"link": "_cameraPosition"
|
|
|
|
},
|
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "eyeLook",
|
2016-07-22 23:25:07 +02:00
|
|
|
"link": "_cameraLook"
|
|
|
|
},
|
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "invVP",
|
2016-07-22 23:25:07 +02:00
|
|
|
"link": "_inverseViewProjectionMatrix"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"texture_params": [],
|
2017-12-20 15:37:58 +01:00
|
|
|
"vertex_shader": "../include/pass.vert.glsl",
|
2016-07-24 19:15:36 +02:00
|
|
|
"fragment_shader": "debug_normals.frag.glsl"
|
2016-07-22 23:25:07 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|