Blender Git Loki
Git Commits -> Revision 7d12d89
Revision 7d12d89 by Clément Foucault (master) May 12, 2017, 15:54 (GMT) |
Sculpt: Move sculpt drawing to engines. Only mask are handled by sculpt mode engine and are multiplied on top of the render. There is room for improvement: - Shaded meshes don't have correct tangents or uvs. - Masks are in range 0.8 - 0.2 thus always darkening at least 20% the render. - It only uses the first material slot of the mesh. |
Commit Details:
Full Hash: 7d12d8956ded188f8d0a7c8589e715e8a2e33742
Parent Commit: 2eff390
Lines Changed: +116, -108
7 Modified Paths:
/source/blender/blenkernel/BKE_pbvh.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+11, -11) (Diff)
/source/blender/draw/engines/clay/clay_engine.c (+15, -2) (Diff)
/source/blender/draw/engines/eevee/eevee_engine.c (+30, -8) (Diff)
/source/blender/draw/intern/draw_manager.c (+44, -43) (Diff)
/source/blender/draw/intern/DRW_render.h (+2, -1) (Diff)
/source/blender/draw/modes/sculpt_mode.c (+13, -43) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+11, -11) (Diff)
/source/blender/draw/engines/clay/clay_engine.c (+15, -2) (Diff)
/source/blender/draw/engines/eevee/eevee_engine.c (+30, -8) (Diff)
/source/blender/draw/intern/draw_manager.c (+44, -43) (Diff)
/source/blender/draw/intern/DRW_render.h (+2, -1) (Diff)
/source/blender/draw/modes/sculpt_mode.c (+13, -43) (Diff)