forked from LeenkxTeam/LNXSDK
41 lines
719 B
JSON
41 lines
719 B
JSON
{
|
|
"contexts": [
|
|
{
|
|
"name": "ssao_pass",
|
|
"depth_write": false,
|
|
"compare_mode": "always",
|
|
"cull_mode": "none",
|
|
"links": [
|
|
{
|
|
"name": "invVP",
|
|
"link": "_inverseViewProjectionMatrix"
|
|
},
|
|
{
|
|
"name": "eye",
|
|
"link": "_cameraPosition"
|
|
},
|
|
{
|
|
"name": "eyeLook",
|
|
"link": "_cameraLook"
|
|
},
|
|
{
|
|
"name": "cameraProj",
|
|
"link": "_cameraPlaneProj"
|
|
},
|
|
{
|
|
"name": "screenSize",
|
|
"link": "_screenSize"
|
|
},
|
|
{
|
|
"name": "PPComp12",
|
|
"link": "_PPComp12",
|
|
"ifdef": ["_CPostprocess"]
|
|
}
|
|
],
|
|
"texture_params": [],
|
|
"vertex_shader": "../include/pass_viewray.vert.glsl",
|
|
"fragment_shader": "ssao_pass.frag.glsl"
|
|
}
|
|
]
|
|
}
|