forked from LeenkxTeam/LNXSDK
43 lines
737 B
JSON
43 lines
737 B
JSON
{
|
|
"contexts": [
|
|
{
|
|
"name": "ssgi_pass",
|
|
"depth_write": false,
|
|
"compare_mode": "always",
|
|
"cull_mode": "none",
|
|
"links": [
|
|
{
|
|
"name": "P",
|
|
"link": "_projectionMatrix"
|
|
},
|
|
{
|
|
"name": "invP",
|
|
"link": "_inverseProjectionMatrix"
|
|
},
|
|
{
|
|
"name": "V3",
|
|
"link": "_viewMatrix3"
|
|
},
|
|
{
|
|
"name": "sunDir",
|
|
"link": "_sunDirection",
|
|
"ifdef": ["_Sun"]
|
|
},
|
|
{
|
|
"name": "sunCol",
|
|
"link": "_sunColor",
|
|
"ifdef": ["_Sun"]
|
|
},
|
|
{
|
|
"name": "PPComp12",
|
|
"link": "_PPComp12",
|
|
"ifdef": ["_CPostprocess"]
|
|
}
|
|
],
|
|
"texture_params": [],
|
|
"vertex_shader": "../include/pass.vert.glsl",
|
|
"fragment_shader": "ssgi_pass.frag.glsl"
|
|
}
|
|
]
|
|
}
|