Blender Git Loki
Git Commits -> Revision 4e92ed8
Revision 4e92ed8 by Clément Foucault (master) March 22, 2017, 01:17 (GMT) |
Object Mode Outline: Changed algorithm a bit. First pass find outline pixel. Second pass expand it by 1px in each direction. Subsequent passes fade the occluded outlines inward. |
Commit Details:
Full Hash: 4e92ed87ac7350d0818cf79cb0591d671297d91a
Parent Commit: c2f3ec4
Lines Changed: +138, -100
4 Modified Paths:
/source/blender/draw/modes/object_mode.c (+88, -40) (Diff)
/source/blender/draw/modes/shaders/object_outline_detect_frag.glsl (+32, -12) (Diff)
/source/blender/draw/modes/shaders/object_outline_expand_frag.glsl (+18, -42) (Diff)
/source/blender/draw/modes/shaders/object_outline_resolve_frag.glsl (+0, -6) (Diff)
/source/blender/draw/modes/shaders/object_outline_detect_frag.glsl (+32, -12) (Diff)
/source/blender/draw/modes/shaders/object_outline_expand_frag.glsl (+18, -42) (Diff)
/source/blender/draw/modes/shaders/object_outline_resolve_frag.glsl (+0, -6) (Diff)