armory/Shaders/grease_pencil/grease_pencil.json
2016-12-13 01:09:17 +01:00

42 lines
1,002 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": "_lampWorldViewProjectionMatrix"
}
],
"texture_params": [],
"vertex_shader": "grease_pencil_shadows.vert.glsl",
"fragment_shader": "grease_pencil_shadows.frag.glsl",
"fragment_shader_path": "../include/shadowmap.frag.glsl"
}
]
}