2016-03-29 13:14:06 +02:00
|
|
|
{
|
|
|
|
"contexts": [
|
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "ssr_pass",
|
2016-10-17 12:02:41 +02:00
|
|
|
"depth_write": false,
|
|
|
|
"compare_mode": "always",
|
|
|
|
"cull_mode": "none",
|
2016-03-29 13:14:06 +02:00
|
|
|
"links": [
|
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "P",
|
2016-03-29 13:14:06 +02:00
|
|
|
"link": "_projectionMatrix"
|
|
|
|
},
|
2016-03-31 21:06:53 +02:00
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "tiV",
|
2016-03-31 21:06:53 +02:00
|
|
|
"link": "_transposeInverseViewMatrix"
|
2016-04-20 19:35:22 +02:00
|
|
|
},
|
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "invP",
|
2016-04-20 19:35:22 +02:00
|
|
|
"link": "_inverseProjectionMatrix"
|
2017-11-04 18:35:34 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "cameraProj",
|
|
|
|
"link": "_cameraPlaneProj"
|
2016-03-29 13:14:06 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"texture_params": [],
|
2017-12-20 15:37:58 +01:00
|
|
|
"vertex_shader": "../include/pass_viewray2.vert.glsl",
|
2016-03-29 13:14:06 +02:00
|
|
|
"fragment_shader": "ssr_pass.frag.glsl"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|