65 lines
1.2 KiB
JSON
Executable file
65 lines
1.2 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": "lightColor",
|
|
"link": "_lampColor"
|
|
},
|
|
{
|
|
"name": "snoise",
|
|
"link": "_noise8"
|
|
},
|
|
{
|
|
"name": "lightPlane",
|
|
"link": "_lampPlane"
|
|
},
|
|
{
|
|
"name": "lightShadow",
|
|
"link": "_lampCastShadow"
|
|
}
|
|
],
|
|
"texture_params": [],
|
|
"vertex_shader": "volumetric_light.vert.glsl",
|
|
"vertex_shader_path": "../include/lamp_volume.vert.glsl",
|
|
"fragment_shader": "volumetric_light.frag.glsl"
|
|
}
|
|
]
|
|
}
|