2016-03-23 00:17:21 +01:00
|
|
|
{
|
|
|
|
"contexts": [
|
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "motion_blur_pass",
|
2016-10-17 12:02:41 +02:00
|
|
|
"depth_write": false,
|
2017-03-12 17:29:22 +01:00
|
|
|
"color_write_alpha": false,
|
2016-10-17 12:02:41 +02:00
|
|
|
"compare_mode": "always",
|
|
|
|
"cull_mode": "none",
|
2016-03-23 00:17:21 +01:00
|
|
|
"links": [
|
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "prevVP",
|
2016-03-23 00:17:21 +01:00
|
|
|
"link": "_prevViewProjectionMatrix"
|
2016-03-23 15:09:12 +01:00
|
|
|
},
|
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "invVP",
|
2016-03-23 15:09:12 +01:00
|
|
|
"link": "_inverseViewProjectionMatrix"
|
2016-04-17 16:07:54 +02:00
|
|
|
},
|
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "eye",
|
2016-04-20 19:35:22 +02:00
|
|
|
"link": "_cameraPosition"
|
2016-04-17 16:07:54 +02:00
|
|
|
},
|
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "eyeLook",
|
2016-04-20 19:35:22 +02:00
|
|
|
"link": "_cameraLook"
|
2017-11-04 18:35:34 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "cameraProj",
|
|
|
|
"link": "_cameraPlaneProj"
|
2017-12-26 01:58:40 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "frameScale",
|
|
|
|
"link": "_frameScale"
|
2016-03-23 00:17:21 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"texture_params": [],
|
2017-12-20 15:37:58 +01:00
|
|
|
"vertex_shader": "../include/pass_viewray.vert.glsl",
|
2016-03-23 00:17:21 +01:00
|
|
|
"fragment_shader": "motion_blur_pass.frag.glsl"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|