2016-08-09 23:51:40 +02:00
|
|
|
{
|
2018-09-13 12:13:32 +02:00
|
|
|
"variants": ["_VoxelAOvar"],
|
2016-08-09 23:51:40 +02:00
|
|
|
"contexts": [
|
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "deferred_indirect",
|
2016-10-17 12:02:41 +02:00
|
|
|
"depth_write": false,
|
2017-03-11 01:50:47 +01:00
|
|
|
"color_write_alpha": false,
|
2016-10-17 12:02:41 +02:00
|
|
|
"compare_mode": "always",
|
|
|
|
"cull_mode": "none",
|
2016-08-09 23:51:40 +02:00
|
|
|
"links": [
|
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "eye",
|
2017-10-23 17:26:17 +02:00
|
|
|
"link": "_cameraPosition",
|
2018-01-29 19:06:57 +01:00
|
|
|
"ifdef": ["_IndPos"]
|
2016-08-09 23:51:40 +02:00
|
|
|
},
|
2017-10-12 12:12:48 +02:00
|
|
|
{
|
|
|
|
"name": "eyeSnap",
|
|
|
|
"link": "_cameraPositionSnap",
|
2017-10-12 22:40:30 +02:00
|
|
|
"ifdef": ["_VoxelGICam"]
|
2017-10-12 12:12:48 +02:00
|
|
|
},
|
2017-12-19 18:05:38 +01:00
|
|
|
{
|
|
|
|
"name": "voxelBlend",
|
|
|
|
"link": "_voxelBlend",
|
|
|
|
"ifdef": ["_VoxelGITemporal"]
|
|
|
|
},
|
2016-08-09 23:51:40 +02:00
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "eyeLook",
|
2016-08-09 23:51:40 +02:00
|
|
|
"link": "_cameraLook",
|
2018-01-29 19:06:57 +01:00
|
|
|
"ifdef": ["_IndPos"]
|
2016-08-09 23:51:40 +02:00
|
|
|
},
|
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "invVP",
|
2018-01-29 19:06:57 +01:00
|
|
|
"link": "_inverseViewProjectionMatrix",
|
|
|
|
"ifdef": ["_IndPos"]
|
2016-08-09 23:51:40 +02:00
|
|
|
},
|
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "shirr",
|
2017-01-23 20:41:45 +01:00
|
|
|
"link": "_envmapIrradiance",
|
|
|
|
"ifdef": ["_Irr"]
|
2016-08-09 23:51:40 +02:00
|
|
|
},
|
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "senvmapRadiance",
|
2016-08-09 23:51:40 +02:00
|
|
|
"link": "_envmapRadiance",
|
|
|
|
"ifdef": ["_Rad"]
|
|
|
|
},
|
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "envmapNumMipmaps",
|
2016-08-09 23:51:40 +02:00
|
|
|
"link": "_envmapNumMipmaps",
|
|
|
|
"ifdef": ["_Rad"]
|
|
|
|
},
|
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "senvmapBrdf",
|
2016-08-09 23:51:40 +02:00
|
|
|
"link": "_envmapBrdf",
|
2018-01-29 19:06:57 +01:00
|
|
|
"ifdef": ["_Brdf"]
|
2016-08-09 23:51:40 +02:00
|
|
|
},
|
2017-11-04 18:35:34 +01:00
|
|
|
{
|
|
|
|
"name": "cameraProj",
|
|
|
|
"link": "_cameraPlaneProj",
|
2018-01-29 19:06:57 +01:00
|
|
|
"ifdef": ["_IndPos"]
|
2017-11-04 18:35:34 +01:00
|
|
|
},
|
2016-08-09 23:51:40 +02:00
|
|
|
{
|
2016-08-25 00:26:01 +02:00
|
|
|
"name": "envmapStrength",
|
2016-08-09 23:51:40 +02:00
|
|
|
"link": "_envmapStrength"
|
2017-07-17 13:50:17 +02:00
|
|
|
},
|
2017-10-22 20:52:39 +02:00
|
|
|
{
|
|
|
|
"name": "backgroundCol",
|
|
|
|
"link": "_backgroundCol",
|
|
|
|
"ifdef": ["_EnvCol"]
|
2016-08-09 23:51:40 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"vertex_shader": "deferred_indirect.vert.glsl",
|
|
|
|
"fragment_shader": "deferred_indirect.frag.glsl"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|