1
$\begingroup$

I am trying to model a face in Blender.

I am having an issue where I am trying to use texture paint to make the lips red. I have already set up a procedural skin texture for the head, which works perfectly except it also makes the lips skin-colored.

In order to fix this problem, I tried to texture paint on a red color. Unfortunately, when I created the image for the texture paint, everything was black. This made it impossible for me to combine the procedural skin texture and the texture paint image into the base color of the face without severely darkening the rest of the head.

See if this image helps:

enter image description here

$\endgroup$

1 Answer 1

2
$\begingroup$

Use a math node set to "Less than" with a very low threshold, and use that in the factor input of the mix RGB.

Illustration :

enter image description here

$\endgroup$
4
  • $\begingroup$ How do you determine the value? $\endgroup$
    – susu
    May 28, 2020 at 14:05
  • $\begingroup$ The value of a color is the highest of each of its three color components : Red, Green, Blue. So it depends on the mask color, but since the answer mentions a black color, its value should be 0, or around 0 if it is not pure black. If you want more information, you can take a look at my other answer on the subject : blender.stackexchange.com/a/176427/86891 $\endgroup$
    – Gorgious
    May 28, 2020 at 14:38
  • $\begingroup$ Great solution! This worked perfectly. However, one thing that I would like to point out is that texture painting often requires the "less than" comparison value to a much larger number, like 0.3 as the texture paint brush leaves a gradient streak rather than a solid one. $\endgroup$
    – Eric Xue
    May 28, 2020 at 14:38
  • $\begingroup$ @EricXue True ! You can use the math node set to "Compare" instead of "Less than" to tweak the threshold (more info in the link I provided higher up) $\endgroup$
    – Gorgious
    May 28, 2020 at 14:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .