39 lines
573 B
JSON
Executable file
39 lines
573 B
JSON
Executable file
{
|
|
"contexts": [
|
|
{
|
|
"id": "dof_pass",
|
|
"params": [
|
|
{
|
|
"id": "depth_write",
|
|
"value": "true"
|
|
},
|
|
{
|
|
"id": "compare_mode",
|
|
"value": "always"
|
|
},
|
|
{
|
|
"id": "cull_mode",
|
|
"value": "none"
|
|
}
|
|
],
|
|
"links": [
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition"
|
|
},
|
|
{
|
|
"id": "VP",
|
|
"link": "_viewProjectionMatrix"
|
|
}
|
|
],
|
|
"texture_params": [],
|
|
"vertex_shader": "dof_pass.vert.glsl",
|
|
"fragment_shader": "dof_pass.frag.glsl"
|
|
}
|
|
]
|
|
}
|