2016-09-30 23:24:18 +02:00
|
|
|
{
|
|
|
|
"contexts": [
|
|
|
|
{
|
|
|
|
"name": "grease_pencil",
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"name": "depth_write",
|
2016-10-02 19:52:40 +02:00
|
|
|
"value": "false"
|
2016-09-30 23:24:18 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "compare_mode",
|
2016-10-02 19:52:40 +02:00
|
|
|
"value": "always"
|
2016-09-30 23:24:18 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "cull_mode",
|
|
|
|
"value": "none"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "blend_source",
|
|
|
|
"value": "source_alpha"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "blend_destination",
|
|
|
|
"value": "inverse_source_alpha"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "blend_operation",
|
|
|
|
"value": "add"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "alpha_blend_source",
|
|
|
|
"value": "source_alpha"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "alpha_blend_destination",
|
|
|
|
"value": "inverse_source_alpha"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "alpha_blend_operation",
|
|
|
|
"value": "add"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"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",
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"name": "depth_write",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "compare_mode",
|
|
|
|
"value": "less"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "cull_mode",
|
|
|
|
"value": "none"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"links": [
|
|
|
|
{
|
|
|
|
"name": "LWVP",
|
|
|
|
"link": "_lampWorldViewProjectionMatrix"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"texture_params": [],
|
|
|
|
"vertex_shader": "grease_pencil_shadows.vert.glsl",
|
|
|
|
"fragment_shader": "grease_pencil_shadows.frag.glsl"
|
2016-09-30 23:24:18 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|