Blender Git Loki
Git Commits -> Revision 0335c1f
Revision 0335c1f by Antonio Vazquez (master) September 18, 2020, 16:28 (GMT) |
GPencil: Implement Holdout materials This new feature allows to use the strokes as an eraser of any stroke below. This is very handy to open holes in filled areas. After running some tests, we have decided to keep the additive effect of the holdout color. To get clean holdout areas, just move the color to black to remove any additive effect. To have additive effect can be used in situations like tint slightly a transparent window with blue to simulate the glass. See T79878 for more details Differential Revision: https://developer.blender.org/D8932 |
Commit Details:
Full Hash: 0335c1fd21dd49906968a2aa85b0016c8047f695
Parent Commit: 7b98818
Lines Changed: +99, -46
9 Modified Paths:
/release/scripts/startup/bl_ui/properties_material_gpencil.py (+5, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_cache_utils.c (+11, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_draw_data.c (+8, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.h (+6, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_shader_fx.c (+36, -38) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_common_lib.glsl (+3, -1) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_frag.glsl (+14, -7) (Diff)
/source/blender/makesdna/DNA_material_types.h (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_material.c (+12, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_cache_utils.c (+11, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_draw_data.c (+8, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.h (+6, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_shader_fx.c (+36, -38) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_common_lib.glsl (+3, -1) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_frag.glsl (+14, -7) (Diff)
/source/blender/makesdna/DNA_material_types.h (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_material.c (+12, -0) (Diff)