Blender Git Loki
Git Commits -> Revision a5e6e56
Revision a5e6e56 by Clément Foucault (greasepencil-object, greasepencil-refactor, temp-gpencil-eval) December 8, 2019, 00:23 (GMT) |
GPencil: Refactor: Draw gpencil strokes using instanced quad Using the instance range drawing (DRW) & the attrib multiload (GPU) we use the instancing of quad geometry to draw arbitrary thick lines using only the vertex shader. |
Commit Details:
Full Hash: a5e6e56a6d32918119a1ee66f295400847a24851
Parent Commit: f7fc37e
Lines Changed: +89, -22
4 Modified Paths:
/source/blender/draw/engines/gpencil/gpencil_draw_cache_impl.c (+14, -10) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.c (+19, -6) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_frag.glsl (+3, -1) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_vert.glsl (+53, -5) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.c (+19, -6) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_frag.glsl (+3, -1) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_vert.glsl (+53, -5) (Diff)