2017-11-02 12:10:01 +01:00
|
|
|
{
|
|
|
|
"contexts": [
|
|
|
|
{
|
|
|
|
"name": "ssgi_pass",
|
|
|
|
"depth_write": false,
|
|
|
|
"compare_mode": "always",
|
|
|
|
"cull_mode": "none",
|
|
|
|
"links": [
|
|
|
|
{
|
|
|
|
"name": "P",
|
|
|
|
"link": "_projectionMatrix"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "tiV",
|
|
|
|
"link": "_transposeInverseViewMatrix"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "invP",
|
|
|
|
"link": "_inverseProjectionMatrix"
|
2017-11-04 18:35:34 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "cameraProj",
|
|
|
|
"link": "_cameraPlaneProj"
|
2017-11-02 12:10:01 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"texture_params": [],
|
2017-12-20 15:37:58 +01:00
|
|
|
"vertex_shader": "../include/pass_viewray2.vert.glsl",
|
2017-11-02 12:10:01 +01:00
|
|
|
"fragment_shader": "ssgi_pass.frag.glsl"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|