Blender Git Loki

Git Commits -> Revision 40e2f44

Revision 40e2f44 by Pablo Dobarro (master)
December 9, 2019, 15:53 (GMT)
Fix Mask Brush gradient artifacts

The old mask brush implementation was adding the brush value to the
previous vertex mask value and clamping the result. This leads to
visible artifacts in the mask gradient as the value approaches 0 or 1,
so it was not possible to paint a smooth mask with this brush.
Now we are also multiplying by the previous mask value before clamping,
fixing all those gradient artifacts.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D6341

Commit Details:

Full Hash: 40e2f4469a76f7fab5501b877c929db181dbc6a4
Parent Commit: 312b6fd
Lines Changed: +7, -2

1 Modified Path:

/source/blender/editors/sculpt_paint/sculpt.c (+7, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021