armory/raw/motion_blur_pass/motion_blur_pass.shader.json
2016-04-17 16:07:54 +02:00

42 lines
695 B
JSON
Executable file

{
"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"
},
{
"id": "invVP",
"link": "_inverseViewProjectionMatrix"
},
{
"id": "invV",
"link": "_inverseViewMatrix"
},
{
"id": "invP",
"link": "_inverseProjectionMatrix"
}
],
"texture_params": [],
"vertex_shader": "motion_blur_pass.vert.glsl",
"fragment_shader": "motion_blur_pass.frag.glsl"
}
]
}