Weight Paint: use black for unselected vertices

Contrast for selected vertices mode wasn't very strong.
This commit is contained in:
Campbell Barton
2018-08-29 12:14:54 +10:00
parent 12562f1c76
commit 46fc3f39c5

View File

@@ -15,7 +15,7 @@ void main()
float dist_squared = dot(centered, centered); float dist_squared = dot(centered, centered);
const float rad_squared = 0.25; const float rad_squared = 0.25;
const vec4 colSel = vec4(1.0, 1.0, 1.0, 1.0); const vec4 colSel = vec4(1.0, 1.0, 1.0, 1.0);
const vec4 colUnsel = vec4(0.5, 0.5, 0.5, 1.0); const vec4 colUnsel = vec4(0.0, 0.0, 0.0, 1.0);
// round point with jaggy edges // round point with jaggy edges
if (dist_squared > rad_squared) { if (dist_squared > rad_squared) {