0

I need to change the background color of a PNG to a specific color. The background of the lable renders black and I want so set the color by my own.

How can I do it within the node editor?

Preview render

Here's the PNG and the nodes:

PNG

Nodes

Thanks!

Grimm
  • 1,866
  • 4
  • 19
  • 34
Jan Z
  • 5
  • 1
  • 3

1 Answers1

3

I would just add in a MixRGB node between your transparent image and the color of the principled shader.

Make sure you plug in the alpha socket into the factor of the MixRGB node and change the color to your liking.

animated gif - color changing

cycles material nodes

David
  • 49,291
  • 38
  • 159
  • 317
icYou520
  • 5,479
  • 4
  • 27
  • 55