forked from LeenkxTeam/LNXSDK
63 lines
1.2 KiB
JSON
63 lines
1.2 KiB
JSON
{
|
|
"contexts": [
|
|
{
|
|
"name": "sss_pass_x",
|
|
"depth_write": false,
|
|
"compare_mode": "always",
|
|
"cull_mode": "none",
|
|
"links": [
|
|
{
|
|
"name": "dir",
|
|
"link": "_vec2x"
|
|
},
|
|
{
|
|
"name": "cameraProj",
|
|
"link": "_cameraPlaneProj"
|
|
},
|
|
{
|
|
"name": "projectionMatrix",
|
|
"link": "_projectionMatrix"
|
|
},
|
|
{
|
|
"name": "materialParams",
|
|
"link": "_materialParams",
|
|
"type": "floats",
|
|
"ifdef": ["_ExtBRDF"]
|
|
}
|
|
],
|
|
"texture_params": [],
|
|
"vertex_shader": "../include/pass.vert.glsl",
|
|
"fragment_shader": "sss_pass.frag.glsl"
|
|
},
|
|
{
|
|
"name": "sss_pass_y",
|
|
"depth_write": false,
|
|
"compare_mode": "always",
|
|
"cull_mode": "none",
|
|
"links": [
|
|
{
|
|
"name": "dir",
|
|
"link": "_vec2y"
|
|
},
|
|
{
|
|
"name": "cameraProj",
|
|
"link": "_cameraPlaneProj"
|
|
},
|
|
{
|
|
"name": "projectionMatrix",
|
|
"link": "_projectionMatrix"
|
|
},
|
|
{
|
|
"name": "materialParams",
|
|
"link": "_materialParams",
|
|
"type": "floats",
|
|
"ifdef": ["_ExtBRDF"]
|
|
}
|
|
],
|
|
"texture_params": [],
|
|
"vertex_shader": "../include/pass.vert.glsl",
|
|
"fragment_shader": "sss_pass.frag.glsl"
|
|
}
|
|
]
|
|
}
|