2016-03-29 13:14:06 +02:00
|
|
|
{
|
|
|
|
"contexts": [
|
|
|
|
{
|
|
|
|
"id": "ssr_pass",
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"id": "depth_write",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "compare_mode",
|
|
|
|
"value": "always"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "cull_mode",
|
|
|
|
"value": "none"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"links": [
|
|
|
|
{
|
|
|
|
"id": "P",
|
|
|
|
"link": "_projectionMatrix"
|
|
|
|
},
|
2016-03-31 21:06:53 +02:00
|
|
|
{
|
|
|
|
"id": "tiV",
|
|
|
|
"link": "_transposeInverseViewMatrix"
|
2016-04-20 19:35:22 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "invP",
|
|
|
|
"link": "_inverseProjectionMatrix"
|
2016-03-29 13:14:06 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"texture_params": [],
|
|
|
|
"vertex_shader": "ssr_pass.vert.glsl",
|
|
|
|
"fragment_shader": "ssr_pass.frag.glsl"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|