armory/Shaders/volumetric_light/volumetric_light.json
2017-12-20 15:37:58 +01:00

64 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": "lightColor",
"link": "_lampColor"
},
{
"name": "snoise",
"link": "_noise8"
},
{
"name": "lightPlane",
"link": "_lampPlane"
},
{
"name": "lightShadow",
"link": "_lampCastShadow"
}
],
"texture_params": [],
"vertex_shader": "../include/pass_lamp_volume.vert.glsl",
"fragment_shader": "volumetric_light.frag.glsl"
}
]
}