2016-09-30 23:24:18 +02:00
|
|
|
{
|
|
|
|
"contexts": [
|
|
|
|
{
|
|
|
|
"name": "grease_pencil",
|
2016-10-17 12:02:41 +02:00
|
|
|
"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",
|
2016-09-30 23:24:18 +02:00
|
|
|
"links": [
|
|
|
|
{
|
|
|
|
"name": "VP",
|
|
|
|
"link": "_viewProjectionMatrix"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"texture_params": [],
|
|
|
|
"vertex_shader": "grease_pencil.vert.glsl",
|
|
|
|
"fragment_shader": "grease_pencil.frag.glsl"
|
2016-10-02 19:52:40 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "grease_pencil_shadows",
|
2016-10-17 12:02:41 +02:00
|
|
|
"depth_write": true,
|
|
|
|
"compare_mode": "less",
|
|
|
|
"cull_mode": "none",
|
2016-10-02 19:52:40 +02:00
|
|
|
"links": [
|
|
|
|
{
|
|
|
|
"name": "LWVP",
|
|
|
|
"link": "_lampWorldViewProjectionMatrix"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"texture_params": [],
|
|
|
|
"vertex_shader": "grease_pencil_shadows.vert.glsl",
|
2016-10-17 17:39:40 +02:00
|
|
|
"fragment_shader": "grease_pencil_shadows.frag.glsl",
|
|
|
|
"fragment_shader_path": "../include/shadowmap.frag.glsl"
|
2016-09-30 23:24:18 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|