80 lines
1.4 KiB
JSON
Executable file
80 lines
1.4 KiB
JSON
Executable file
{
|
|
"contexts": [
|
|
{
|
|
"name": "compositor_pass",
|
|
"depth_write": false,
|
|
"compare_mode": "always",
|
|
"cull_mode": "none",
|
|
"links": [
|
|
{
|
|
"name": "eye",
|
|
"link": "_cameraPosition",
|
|
"ifdef": ["_CGlare"]
|
|
},
|
|
{
|
|
"name": "eye",
|
|
"link": "_cameraPosition",
|
|
"ifdef": ["_Disabled_CPos"]
|
|
},
|
|
{
|
|
"name": "eyeLook",
|
|
"link": "_cameraLook",
|
|
"ifdef": ["_CGlare"]
|
|
},
|
|
{
|
|
"name": "eyeLook",
|
|
"link": "_cameraLook",
|
|
"ifdef": ["_Disabled_CPos"]
|
|
},
|
|
{
|
|
"name": "invVP",
|
|
"link": "_inverseViewProjectionMatrix",
|
|
"ifdef": ["_Disabled_CPos"]
|
|
},
|
|
{
|
|
"name": "light",
|
|
"link": "_lampPosition",
|
|
"ifdef": ["_CGlare"]
|
|
},
|
|
{
|
|
"name": "VP",
|
|
"link": "_viewProjectionMatrix",
|
|
"ifdef": ["_CGlare"]
|
|
},
|
|
{
|
|
"name": "time",
|
|
"link": "_time",
|
|
"ifdef": ["_CGrain"]
|
|
},
|
|
|
|
|
|
{
|
|
"name": "texStep",
|
|
"link": "_screenSizeInv",
|
|
"ifdef": ["_CFXAA", "_CDOF"]
|
|
},
|
|
{
|
|
"name": "texStep",
|
|
"link": "_screenSizeInv",
|
|
"ifdef": ["_CFXAA"]
|
|
},
|
|
|
|
|
|
{
|
|
"name": "dynamicScale",
|
|
"link": "_dynamicScale",
|
|
"ifdef": ["_DynRes"]
|
|
},
|
|
{
|
|
"name": "aspectRatio",
|
|
"link": "_aspectRatioF",
|
|
"ifdef": ["_CGlare"]
|
|
}
|
|
],
|
|
"texture_params": [],
|
|
"vertex_shader": "compositor_pass.vert.glsl",
|
|
"fragment_shader": "compositor_pass.frag.glsl"
|
|
}
|
|
]
|
|
}
|