1

I have car mesh for my game. I need change base car color without wheel and headlights color. For this I create texture with white and black places where need changes and color mask for it. Then I created shader with Shader Graphenter image description here

But the color I got is wrong. It's brighter. The Color what I want and what I have: enter image description here

What I'm doing wrong?

Artem Volkov
  • 109
  • 1
  • 10

1 Answers1

0

Unless you're using negative inputs, Add won't reduce the amount of blue, red, or green. Since you're adding red light into grey, you'll get pink as a result. Instead, you should use Multiply.

Multiply the base texture with a white-based color map, where the color map is white where it shouldn't affect the base texture. To make the white-based color map, you can invert the result of the color mask and add it to the result of the multiply you already have.

example graph

Ruzihm
  • 19,749
  • 5
  • 36
  • 48