53 lines
830 B
JSON
Executable file
53 lines
830 B
JSON
Executable file
{
|
|
"contexts": [
|
|
{
|
|
"id": "compositor_pass",
|
|
"params": [
|
|
{
|
|
"id": "depth_write",
|
|
"value": "true"
|
|
},
|
|
{
|
|
"id": "compare_mode",
|
|
"value": "always"
|
|
},
|
|
{
|
|
"id": "cull_mode",
|
|
"value": "none"
|
|
}
|
|
],
|
|
"links": [
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition"
|
|
},
|
|
{
|
|
"id": "eyeLook",
|
|
"link": "_cameraLook"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"ifdef": ["_LensFlare"]
|
|
},
|
|
{
|
|
"id": "VP",
|
|
"link": "_viewProjectionMatrix",
|
|
"ifdef": ["_LensFlare"]
|
|
},
|
|
{
|
|
"id": "noise256",
|
|
"link": "_noise256"
|
|
},
|
|
{
|
|
"id": "time",
|
|
"link": "_time"
|
|
}
|
|
],
|
|
"texture_params": [],
|
|
"vertex_shader": "compositor_pass.vert.glsl",
|
|
"fragment_shader": "compositor_pass.frag.glsl"
|
|
}
|
|
]
|
|
}
|