79 lines
1.5 KiB
JSON
Executable file
79 lines
1.5 KiB
JSON
Executable file
{
|
|
"contexts": [
|
|
{
|
|
"name": "deferred_indirect",
|
|
"depth_write": false,
|
|
"color_write_alpha": false,
|
|
"compare_mode": "always",
|
|
"cull_mode": "none",
|
|
"links": [
|
|
{
|
|
"name": "eye",
|
|
"link": "_cameraPosition",
|
|
"ifdef": ["_IndPos"]
|
|
},
|
|
{
|
|
"name": "eyeSnap",
|
|
"link": "_cameraPositionSnap",
|
|
"ifdef": ["_VoxelGICam"]
|
|
},
|
|
{
|
|
"name": "voxelBlend",
|
|
"link": "_voxelBlend",
|
|
"ifdef": ["_VoxelGITemporal"]
|
|
},
|
|
{
|
|
"name": "eyeLook",
|
|
"link": "_cameraLook",
|
|
"ifdef": ["_IndPos"]
|
|
},
|
|
{
|
|
"name": "invVP",
|
|
"link": "_inverseViewProjectionMatrix",
|
|
"ifdef": ["_IndPos"]
|
|
},
|
|
{
|
|
"name": "shirr",
|
|
"link": "_envmapIrradiance",
|
|
"ifdef": ["_Irr"]
|
|
},
|
|
{
|
|
"name": "senvmapRadiance",
|
|
"link": "_envmapRadiance",
|
|
"ifdef": ["_Rad"]
|
|
},
|
|
{
|
|
"name": "envmapNumMipmaps",
|
|
"link": "_envmapNumMipmaps",
|
|
"ifdef": ["_Rad"]
|
|
},
|
|
{
|
|
"name": "senvmapBrdf",
|
|
"link": "_envmapBrdf",
|
|
"ifdef": ["_Brdf"]
|
|
},
|
|
{
|
|
"name": "cameraProj",
|
|
"link": "_cameraPlaneProj",
|
|
"ifdef": ["_IndPos"]
|
|
},
|
|
{
|
|
"name": "envmapStrength",
|
|
"link": "_envmapStrength"
|
|
},
|
|
{
|
|
"name": "sdftex",
|
|
"link": "_sdfTexture",
|
|
"ifdef": ["_DFAO"]
|
|
},
|
|
{
|
|
"name": "backgroundCol",
|
|
"link": "_backgroundCol",
|
|
"ifdef": ["_EnvCol"]
|
|
}
|
|
],
|
|
"vertex_shader": "deferred_indirect.vert.glsl",
|
|
"fragment_shader": "deferred_indirect.frag.glsl"
|
|
}
|
|
]
|
|
}
|