52 lines
936 B
JSON
Executable file
52 lines
936 B
JSON
Executable file
{
|
|
"contexts": [
|
|
{
|
|
"name": "deferred_indirect",
|
|
"depth_write": false,
|
|
"compare_mode": "always",
|
|
"cull_mode": "none",
|
|
"links": [
|
|
|
|
{
|
|
"name": "eye",
|
|
"link": "_cameraPosition"
|
|
},
|
|
{
|
|
"name": "eyeLook",
|
|
"link": "_cameraLook",
|
|
"ifdef": ["_Rad"]
|
|
},
|
|
{
|
|
"name": "invVP",
|
|
"link": "_inverseViewProjectionMatrix"
|
|
},
|
|
{
|
|
"name": "shirr",
|
|
"link": "_envmapIrradiance"
|
|
},
|
|
{
|
|
"name": "senvmapRadiance",
|
|
"link": "_envmapRadiance",
|
|
"ifdef": ["_Rad"]
|
|
},
|
|
{
|
|
"name": "envmapNumMipmaps",
|
|
"link": "_envmapNumMipmaps",
|
|
"ifdef": ["_Rad"]
|
|
},
|
|
{
|
|
"name": "senvmapBrdf",
|
|
"link": "_envmapBrdf",
|
|
"ifdef": ["_Rad"]
|
|
},
|
|
{
|
|
"name": "envmapStrength",
|
|
"link": "_envmapStrength"
|
|
}
|
|
],
|
|
"vertex_shader": "deferred_indirect.vert.glsl",
|
|
"fragment_shader": "deferred_indirect.frag.glsl"
|
|
}
|
|
]
|
|
}
|