Blender Git Commit Log
Git Commits -> Revision 4ba9409
Revision 4ba9409 by Clément Foucault (greasepencil-object, greasepencil-refactor, temp-gpencil-eval) December 13, 2019, 18:40 (GMT) |
GPencil: Refactor: Add offscreen compositing foundation This put all Grease pencil drawing into a separate buffer that is then composited on top of the rendered image. This framebuffer has 2 RGB color target (one color and one alpha) to be able to record any color blend types. Moreover these buffers are floating point (R11_G11_B10) which will allow the use of linear colors. |
Commit Details:
Full Hash: 4ba94091be0baf992ab73e2514c8651ca676030c
Parent Commit: 4fbf789
Lines Changed: +102, -4
1 Added Path:
/source/blender/draw/engines/gpencil/shaders/gpencil_composite_frag.glsl (+21, -0) (View)
6 Modified Paths:
/source/blender/draw/CMakeLists.txt (+1, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_cache_utils.c (+2, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.c (+49, -3) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.h (+16, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_shader.c (+9, -0) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_frag.glsl (+4, -1) (Diff)
/source/blender/draw/engines/gpencil/gpencil_cache_utils.c (+2, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.c (+49, -3) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.h (+16, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_shader.c (+9, -0) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_frag.glsl (+4, -1) (Diff)