56 lines
999 B
JSON
Executable file
56 lines
999 B
JSON
Executable file
{
|
|
"contexts": [
|
|
{
|
|
"name": "visibility_pass",
|
|
"depth_write": false,
|
|
"compare_mode": "always",
|
|
"cull_mode": "none",
|
|
"links": [
|
|
{
|
|
"name": "eye",
|
|
"link": "_cameraPosition"
|
|
},
|
|
{
|
|
"name": "eyeLook",
|
|
"link": "_cameraLook"
|
|
},
|
|
{
|
|
"name": "invVP",
|
|
"link": "_inverseViewProjectionMatrix"
|
|
},
|
|
{
|
|
"name": "cameraProj",
|
|
"link": "_cameraPlaneProj"
|
|
},
|
|
{
|
|
"name": "shadowsBias",
|
|
"link": "_lightShadowsBias"
|
|
},
|
|
{
|
|
"name": "LWVP",
|
|
"link": "_biasLightWorldViewProjectionMatrix"
|
|
},
|
|
{
|
|
"name": "lightType",
|
|
"link": "_lightType",
|
|
"ifdef": ["_Disabled"]
|
|
},
|
|
{
|
|
"name": "lightShadow",
|
|
"link": "_lightCastShadow"
|
|
},
|
|
{
|
|
"name": "lightProj",
|
|
"link": "_lightPlaneProj"
|
|
},
|
|
{
|
|
"name": "lightPos",
|
|
"link": "_lightPosition"
|
|
}
|
|
],
|
|
"vertex_shader": "visibility_pass.vert.glsl",
|
|
"fragment_shader": "visibility_pass.frag.glsl"
|
|
}
|
|
]
|
|
}
|