armory/Shaders/grease_pencil/grease_pencil.json
2017-12-20 15:37:58 +01:00

41 lines
940 B
JSON
Executable file

{
"contexts": [
{
"name": "grease_pencil",
"depth_write": false,
"compare_mode": "always",
"cull_mode": "none",
"blend_source": "source_alpha",
"blend_destination": "inverse_source_alpha",
"blend_operation": "add",
"alpha_blend_source": "source_alpha",
"alpha_blend_destination": "inverse_source_alpha",
"alpha_blend_operation": "add",
"links": [
{
"name": "VP",
"link": "_viewProjectionMatrix"
}
],
"texture_params": [],
"vertex_shader": "grease_pencil.vert.glsl",
"fragment_shader": "grease_pencil.frag.glsl"
},
{
"name": "grease_pencil_shadows",
"depth_write": true,
"compare_mode": "less",
"cull_mode": "none",
"links": [
{
"name": "LWVP",
"link": "_biasLampWorldViewProjectionMatrix"
}
],
"texture_params": [],
"vertex_shader": "grease_pencil_shadows.vert.glsl",
"fragment_shader": "../include/empty.frag.glsl"
}
]
}