armory/Shaders/volumetric_light/volumetric_light.json
2016-12-13 01:09:17 +01:00

57 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": "viewPos",
"link": "_cameraPosition"
},
{
"name": "lightPos",
"link": "_lampPosition"
},
{
"name": "lightRadius",
"link": "_lampRadius"
},
{
"name": "lightColor",
"link": "_lampColor"
},
{
"name": "snoise",
"link": "_noise8"
}
],
"texture_params": [],
"vertex_shader": "volumetric_light.vert.glsl",
"vertex_shader_path": "../include/lamp_volume.vert.glsl",
"fragment_shader": "volumetric_light.frag.glsl"
}
]
}