59 lines
1.1 KiB
JSON
Executable file
59 lines
1.1 KiB
JSON
Executable file
{
|
|
"contexts": [
|
|
{
|
|
"name": "volumetric_light",
|
|
"depth_write": false,
|
|
"compare_mode": "greater",
|
|
"cull_mode": "counter_clockwise",
|
|
"links": [
|
|
{
|
|
"name": "LVWVP",
|
|
"link": "_lampVolumeWorldViewProjectionMatrix"
|
|
},
|
|
{
|
|
"name": "invVP",
|
|
"link": "_inverseViewProjectionMatrix"
|
|
},
|
|
{
|
|
"name": "LWVP",
|
|
"link": "_biasLampWorldViewProjectionMatrix"
|
|
},
|
|
{
|
|
"name": "shadowsBias",
|
|
"link": "_lampShadowsBias"
|
|
},
|
|
{
|
|
"name": "screenSize",
|
|
"link": "_screenSize"
|
|
},
|
|
{
|
|
"name": "eye",
|
|
"link": "_cameraPosition"
|
|
},
|
|
{
|
|
"name": "lightPos",
|
|
"link": "_lampPosition"
|
|
},
|
|
{
|
|
"name": "lightRadius",
|
|
"link": "_lampRadius"
|
|
},
|
|
{
|
|
"name": "snoise",
|
|
"link": "_blueNoise64"
|
|
},
|
|
{
|
|
"name": "lightProj",
|
|
"link": "_lampPlaneProj"
|
|
},
|
|
{
|
|
"name": "lightShadow",
|
|
"link": "_lampCastShadow"
|
|
}
|
|
],
|
|
"texture_params": [],
|
|
"vertex_shader": "../include/pass_lamp_volume.vert.glsl",
|
|
"fragment_shader": "volumetric_light.frag.glsl"
|
|
}
|
|
]
|
|
}
|