DRW: Increase weight paint wire depth bias
authorCampbell Barton <ideasman42@gmail.com>
Thu, 14 Feb 2019 02:50:15 +0000 (13:50 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 14 Feb 2019 04:22:58 +0000 (15:22 +1100)
commit7280d9d1e41df9596608af77dc206573ed2d3e7a
tree7e077949d705f1408632c400801f673fe2b15922
parentc12b29e8849f9e29486e29bad2597b82e502c277
DRW: Increase weight paint wire depth bias

By default wire would z-fight against the surface.
Increase the bias, also don't adjust the 'w' component
since it causes bias that depends on the view direction.
source/blender/draw/modes/shaders/paint_wire_vert.glsl