Sculpt/Paint: Invert curve alpha overlay
Reviewed By: billreynish Differential Revision: https://developer.blender.org/D5998
This commit is contained in:
parent
afb9bdc320
commit
525a8bdf1d
|
@ -410,7 +410,7 @@ static void load_tex_cursor_task_cb(void *__restrict userdata,
|
|||
if (len <= 1.0f) {
|
||||
float avg = BKE_brush_curve_strength_clamped(br, len, 1.0f); /* Falloff curve */
|
||||
|
||||
buffer[index] = 255 - (GLubyte)(255 * avg);
|
||||
buffer[index] = (GLubyte)(255 * avg);
|
||||
}
|
||||
else {
|
||||
buffer[index] = 0;
|
||||
|
|
Loading…
Reference in New Issue