Blender Git Commit Log

Git Commits -> Revision 209afa2

Revision 209afa2 by Clément Foucault (master)
January 14, 2019, 17:33 (GMT)
Object Mode: Outlines: Add support for thicker outline

Base outline is 2px wide (because of how we detect them).
And since inflating this outline will only produce outlines that are 2*x
thick we map the UI scalling and the outline width setting to the closest
match.

Do note that thicker outlines have a performance cost since they need more
texture fetches and passes.

This fixes T60252 3D View Outline Width not working

Commit Details:

Full Hash: 209afa28c6ee4714f375a44824511a8ac6d656a4
Parent Commit: 065bdc0
Lines Changed: +26, -8

2 Modified Paths:

/source/blender/draw/modes/object_mode.c (+12, -8) (Diff)
/source/blender/draw/modes/shaders/object_outline_expand_frag.glsl (+14, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021