Blender Git Commit Log
Git Commits -> Revision 2f9f3d0
Revision 2f9f3d0 by Antonio Vazquez (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) March 27, 2018, 16:03 (GMT) |
Fix alpha double blend The color when used alpha factor always got darker. The problem was a double blend that produced a reduction in the color saturation. Now, there is a premult of the alpha factor before doing last blend pass. As a result of this change, now the drawing process can be simplified and a pass can be removed. Some cleanup done too. Still need more work in render mode. Maybe the problem in render is related to Tonemapping. Thanks Cl�ment Foucault for his help solving this issue. |
Commit Details:
Full Hash: 2f9f3d09a943d035e06555476d528f72b60f49fc
Parent Commit: d7046c4
Lines Changed: +30, -57
1 Added Path:
/source/blender/draw/engines/gpencil/shaders/gpencil_simple_mix_frag.glsl (+15, -0) (View)
1 Deleted Path:
/source/blender/draw/engines/gpencil/shaders/gpencil_front_depth_mix_frag.glsl (+0, -14)
5 Modified Paths:
/source/blender/draw/CMakeLists.txt (+1, -1) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.c (+8, -38) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.h (+1, -2) (Diff)
/source/blender/draw/engines/gpencil/gpencil_vfx.c (+1, -2) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_zdepth_mix_frag.glsl (+4, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.c (+8, -38) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.h (+1, -2) (Diff)
/source/blender/draw/engines/gpencil/gpencil_vfx.c (+1, -2) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_zdepth_mix_frag.glsl (+4, -0) (Diff)