1
$\begingroup$

This question already has an answer here:

I am attempting to add a logo to a metal material. Unfortunately, when I render it, it has no color.

enter image description here

I fed the metal shader and the logo's image texture to a mix shader. Then I used the same image texture as the fac input. It has colour in material viewport mode, but not when rendered.

Oddly, if I feed the image texture only into the fac input and not as a shader, it makes no difference to the render.

The upper 3d view is rendered, the lower is material viewport mode.

$\endgroup$

marked as duplicate by cegaton, David Apr 2 '18 at 0:29

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2
$\begingroup$

Realized the answer 5 minutes after posting.

I was trying to mix a texture with a shader. I needed to mix two materials together. So I simply added a Principled shader with the logo in its colour input. enter image description here

$\endgroup$
  • 1
    $\begingroup$ You don't need the second metallic shader. All of this can be done directly using the Principled shader only. $\endgroup$ – cegaton Apr 2 '18 at 0:10
  • $\begingroup$ You're absolutely right. Rather than using a texture to mix a Principled metal shader and a Principled wood shader, I can use that texture in the metallic input of a single Principled shader. A MixRGB node with the same texture in the fac input will do the same for the colours. $\endgroup$ – Bob Borpington Apr 3 '18 at 2:32

Not the answer you're looking for? Browse other questions tagged or ask your own question.