armory/Shaders/probe_planar/probe_planar.json

37 lines
772 B
JSON
Raw Normal View History

2018-10-01 22:01:03 +02:00
{
"contexts": [
{
"name": "probe_planar",
"depth_write": false,
"compare_mode": "less",
"cull_mode": "clockwise",
"blend_source": "blend_one",
"blend_destination": "blend_one",
"blend_operation": "add",
"alpha_blend_source": "blend_one",
"alpha_blend_destination": "blend_one",
"alpha_blend_operation": "add",
"links": [
{
2018-10-03 13:59:34 +02:00
"name": "VWVP",
2018-10-01 22:01:03 +02:00
"link": "_worldViewProjectionMatrix"
},
{
"name": "invVP",
"link": "_inverseViewProjectionMatrix"
2018-10-03 13:59:34 +02:00
},
{
"name": "probeVP",
"link": "_probeViewProjectionMatrix"
},
{
"name": "proben",
"link": "_probeNormal"
2018-10-01 22:01:03 +02:00
}
],
2018-10-03 13:59:34 +02:00
"vertex_shader": "../include/pass_volume.vert.glsl",
2018-10-01 22:01:03 +02:00
"fragment_shader": "probe_planar.frag.glsl"
}
]
}