2016-05-05 19:50:03 +02:00
|
|
|
{
|
|
|
|
"contexts": [
|
|
|
|
{
|
|
|
|
"id": "water_pass",
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"id": "depth_write",
|
2016-07-24 19:15:36 +02:00
|
|
|
"value": "false"
|
2016-05-05 19:50:03 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "compare_mode",
|
|
|
|
"value": "always"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "cull_mode",
|
|
|
|
"value": "none"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"links": [
|
2016-07-17 20:29:53 +02:00
|
|
|
{
|
|
|
|
"id": "transpV",
|
|
|
|
"link": "_transposeViewMatrix"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "invP",
|
|
|
|
"link": "_inverseProjectionMatrix"
|
|
|
|
},
|
2016-05-05 19:50:03 +02:00
|
|
|
{
|
|
|
|
"id": "eye",
|
|
|
|
"link": "_cameraPosition"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "eyeLook",
|
|
|
|
"link": "_cameraLook"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "light",
|
|
|
|
"link": "_lightPosition"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "invVP",
|
|
|
|
"link": "_inverseViewProjectionMatrix"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "time",
|
|
|
|
"link": "_time"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"texture_params": [],
|
|
|
|
"vertex_shader": "water_pass.vert.glsl",
|
|
|
|
"fragment_shader": "water_pass.frag.glsl"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|