2016-03-23 00:17:21 +01:00
|
|
|
{
|
|
|
|
"contexts": [
|
|
|
|
{
|
|
|
|
"id": "motion_blur_pass",
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"id": "depth_write",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "compare_mode",
|
|
|
|
"value": "always"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "cull_mode",
|
|
|
|
"value": "none"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"links": [
|
|
|
|
{
|
|
|
|
"id": "prevVP",
|
|
|
|
"link": "_prevViewProjectionMatrix"
|
2016-03-23 15:09:12 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "invVP",
|
|
|
|
"link": "_inverseViewProjectionMatrix"
|
2016-04-17 16:07:54 +02:00
|
|
|
},
|
|
|
|
{
|
2016-04-20 19:35:22 +02:00
|
|
|
"id": "eye",
|
|
|
|
"link": "_cameraPosition"
|
2016-04-17 16:07:54 +02:00
|
|
|
},
|
|
|
|
{
|
2016-04-20 19:35:22 +02:00
|
|
|
"id": "eyeLook",
|
|
|
|
"link": "_cameraLook"
|
2016-03-23 00:17:21 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"texture_params": [],
|
|
|
|
"vertex_shader": "motion_blur_pass.vert.glsl",
|
|
|
|
"fragment_shader": "motion_blur_pass.frag.glsl"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|