85 lines
1.6 KiB
JSON
Executable file
85 lines
1.6 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": "_lightPosition",
|
|
"ifdef": ["_CGlare"]
|
|
},
|
|
{
|
|
"name": "VP",
|
|
"link": "_viewProjectionMatrix",
|
|
"ifdef": ["_CGlare"]
|
|
},
|
|
{
|
|
"name": "time",
|
|
"link": "_time",
|
|
"ifdef": ["_CGrain"]
|
|
},
|
|
{
|
|
"name": "texStep",
|
|
"link": "_screenSizeInv",
|
|
"ifdef": ["_CTexStep"]
|
|
},
|
|
{
|
|
"name": "dynamicScale",
|
|
"link": "_dynamicScale",
|
|
"ifdef": ["_DynRes"]
|
|
},
|
|
{
|
|
"name": "aspectRatio",
|
|
"link": "_aspectRatioF",
|
|
"ifdef": ["_CGlare"]
|
|
},
|
|
{
|
|
"name": "lensTexture",
|
|
"link": "_lensTexture",
|
|
"ifdef": ["_CLensTex"]
|
|
},
|
|
{
|
|
"name": "cameraProj",
|
|
"link": "_cameraPlaneProj",
|
|
"ifdef": ["_CCameraProj"]
|
|
},
|
|
{
|
|
"name": "lutTexture",
|
|
"link": "_lutTexture",
|
|
"ifdef": ["_CLUT"]
|
|
}
|
|
],
|
|
"texture_params": [],
|
|
"vertex_shader": "compositor_pass.vert.glsl",
|
|
"fragment_shader": "compositor_pass.frag.glsl"
|
|
}
|
|
]
|
|
}
|