armory/Shaders/volumetric_light/volumetric_light.json

64 lines
1.1 KiB
JSON
Raw Normal View History

2016-08-31 00:46:10 +02:00
{
"contexts": [
{
"name": "volumetric_light",
2016-10-17 12:02:41 +02:00
"depth_write": false,
"compare_mode": "greater",
"cull_mode": "counter_clockwise",
2016-08-31 00:46:10 +02:00
"links": [
{
"name": "LVWVP",
"link": "_lampVolumeWorldViewProjectionMatrix"
},
{
"name": "invVP",
"link": "_inverseViewProjectionMatrix"
},
{
"name": "LWVP",
"link": "_biasLampWorldViewProjectionMatrix"
},
{
"name": "shadowsBias",
"link": "_lampShadowsBias"
},
{
"name": "screenSize",
"link": "_screenSize"
},
{
2017-07-08 14:12:18 +02:00
"name": "eye",
2016-08-31 00:46:10 +02:00
"link": "_cameraPosition"
},
{
"name": "lightPos",
"link": "_lampPosition"
},
{
"name": "lightRadius",
"link": "_lampRadius"
},
{
"name": "lightColor",
"link": "_lampColor"
},
{
"name": "snoise",
"link": "_noise8"
2017-05-22 15:55:34 +02:00
},
{
"name": "lightPlane",
"link": "_lampPlane"
},
{
"name": "lightShadow",
"link": "_lampCastShadow"
2016-08-31 00:46:10 +02:00
}
],
"texture_params": [],
2017-12-20 15:37:58 +01:00
"vertex_shader": "../include/pass_lamp_volume.vert.glsl",
2016-08-31 00:46:10 +02:00
"fragment_shader": "volumetric_light.frag.glsl"
}
]
}