Blender Git Loki
Git Commits -> Revision e493a1a
Revision e493a1a by Clément Foucault (master) May 2, 2018, 18:49 (GMT) |
DRW: Armature: New bone outline shader. This fix the issue with the zfighting we were getting at bones edges. Moreover, this enables us to render arbitrarly large outline with varying thickness. |
Commit Details:
Full Hash: e493a1a1aedcd6bc00f0f016aa6ef707742e3825
Parent Commit: 77b481f
Lines Changed: +243, -13
2 Added Paths:
/source/blender/draw/modes/shaders/armature_shape_outline_geom.glsl (+95, -0) (View)
/source/blender/draw/modes/shaders/armature_shape_outline_vert.glsl (+53, -0) (View)
/source/blender/draw/modes/shaders/armature_shape_outline_vert.glsl (+53, -0) (View)
7 Modified Paths:
/source/blender/draw/CMakeLists.txt (+2, -0) (Diff)
/source/blender/draw/intern/draw_armature.c (+25, -7) (Diff)
/source/blender/draw/intern/draw_common.c (+39, -0) (Diff)
/source/blender/draw/intern/draw_common.h (+7, -3) (Diff)
/source/blender/draw/modes/edit_armature_mode.c (+10, -1) (Diff)
/source/blender/draw/modes/object_mode.c (+3, -1) (Diff)
/source/blender/draw/modes/pose_mode.c (+9, -1) (Diff)
/source/blender/draw/intern/draw_armature.c (+25, -7) (Diff)
/source/blender/draw/intern/draw_common.c (+39, -0) (Diff)
/source/blender/draw/intern/draw_common.h (+7, -3) (Diff)
/source/blender/draw/modes/edit_armature_mode.c (+10, -1) (Diff)
/source/blender/draw/modes/object_mode.c (+3, -1) (Diff)
/source/blender/draw/modes/pose_mode.c (+9, -1) (Diff)