68 lines
1.2 KiB
JSON
Executable file
68 lines
1.2 KiB
JSON
Executable file
{
|
|
"contexts": [
|
|
{
|
|
"name": "compositor_pass",
|
|
"depth_write": false,
|
|
"compare_mode": "always",
|
|
"cull_mode": "none",
|
|
"links": [
|
|
{
|
|
"name": "eye",
|
|
"link": "_cameraPosition",
|
|
"ifdef": ["_CompoPos"]
|
|
},
|
|
{
|
|
"name": "eyeLook",
|
|
"link": "_cameraLook",
|
|
"ifdef": ["_CompoPos"]
|
|
},
|
|
{
|
|
"name": "invVP",
|
|
"link": "_inverseViewProjectionMatrix",
|
|
"ifdef": ["_CompoPos"]
|
|
},
|
|
{
|
|
"name": "light",
|
|
"link": "_lampPosition",
|
|
"ifdef": ["_CompoGlare"]
|
|
},
|
|
{
|
|
"name": "VP",
|
|
"link": "_viewProjectionMatrix",
|
|
"ifdef": ["_CompoGlare"]
|
|
},
|
|
{
|
|
"name": "time",
|
|
"link": "_time",
|
|
"ifdef": ["_CompoGrain"]
|
|
},
|
|
|
|
|
|
{
|
|
"name": "texStep",
|
|
"link": "_screenSizeInv"
|
|
},
|
|
{
|
|
"name": "texStep",
|
|
"link": "_screenSizeInv",
|
|
"ifdef": ["_CompoFXAA"]
|
|
},
|
|
|
|
|
|
{
|
|
"name": "dynamicScale",
|
|
"link": "_dynamicScale",
|
|
"ifdef": ["_DynRes"]
|
|
},
|
|
{
|
|
"name": "aspectRatio",
|
|
"link": "_aspectRatio"
|
|
}
|
|
],
|
|
"texture_params": [],
|
|
"vertex_shader": "compositor_pass.vert.glsl",
|
|
"fragment_shader": "compositor_pass.frag.glsl"
|
|
}
|
|
]
|
|
}
|