58 lines
944 B
JSON
Executable file
58 lines
944 B
JSON
Executable file
{
|
|
"contexts": [
|
|
{
|
|
"name": "water_pass",
|
|
"params": [
|
|
{
|
|
"name": "depth_write",
|
|
"value": "false"
|
|
},
|
|
{
|
|
"name": "compare_mode",
|
|
"value": "always"
|
|
},
|
|
{
|
|
"name": "cull_mode",
|
|
"value": "none"
|
|
}
|
|
],
|
|
"links": [
|
|
{
|
|
"name": "transpV",
|
|
"link": "_transposeViewMatrix"
|
|
},
|
|
{
|
|
"name": "invP",
|
|
"link": "_inverseProjectionMatrix"
|
|
},
|
|
{
|
|
"name": "eye",
|
|
"link": "_cameraPosition"
|
|
},
|
|
{
|
|
"name": "eyeLook",
|
|
"link": "_cameraLook"
|
|
},
|
|
{
|
|
"name": "light",
|
|
"link": "_lampPosition"
|
|
},
|
|
{
|
|
"name": "invVP",
|
|
"link": "_inverseViewProjectionMatrix"
|
|
},
|
|
{
|
|
"name": "time",
|
|
"link": "_time"
|
|
},
|
|
{
|
|
"name": "envmapStrength",
|
|
"link": "_envmapStrength"
|
|
}
|
|
],
|
|
"texture_params": [],
|
|
"vertex_shader": "water_pass.vert.glsl",
|
|
"fragment_shader": "water_pass.frag.glsl"
|
|
}
|
|
]
|
|
}
|