1
$\begingroup$

This question already has an answer here:

I have a png logo-label I want applied to a section of the display. Problem is when I set up the label material and apply it the background of the display goes transparent too.

enter image description here

$\endgroup$

marked as duplicate by David Feb 2 '16 at 18:04

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.

  • 1
    $\begingroup$ look at your own question here: blender.stackexchange.com/questions/40642/… $\endgroup$ – cegaton Feb 1 '16 at 18:57
  • $\begingroup$ Think of it this way: the transparency controls what? Do you want to have the color of the object everywhere except where the texture is? Then use the alpha to mix the image and color. Do you want your object to be transparent except for the part where the texture is? Then use the alpha to control the transparent and diffuse shaders. $\endgroup$ – cegaton Feb 1 '16 at 19:28
  • $\begingroup$ My answer will help you here. $\endgroup$ – David Feb 2 '16 at 18:03
3
$\begingroup$

You want the alpha channel to control how the colors of the diffuse shader mix with your image. Use a RGB mix node.

enter image description here

$\endgroup$
  • $\begingroup$ Sorry, but I DID that once already. Here look. You can clearly see I had the alpha plugged into the color. postimg.org/image/v9a0amzo5 $\endgroup$ – Marc Feb 1 '16 at 19:26
  • 1
    $\begingroup$ You don't need the trasnparent shader node, nor the mix shader node. $\endgroup$ – cegaton Feb 1 '16 at 19:50
  • $\begingroup$ I unplug the mix shader. I unplug the transparent shader. I plug the alpha into the Color AND the Fac and STILL wrong postimg.org/image/ucvshqz5r $\endgroup$ – Marc Feb 1 '16 at 20:07
  • 1
    $\begingroup$ see the picture... plug the image to the bottom socket. The bottom socket is foreground color, the one on top is the background color. You want your image to be "on top" of the background color. $\endgroup$ – cegaton Feb 1 '16 at 20:12
  • $\begingroup$ Ok. except when tried that th color was completely wrong. postimg.org/image/641g5x03d Nevermind I wasted enough fo your time. I'll figure something else out -- I'll correct it in Photoshop. Thanks anyways. $\endgroup$ – Marc Feb 1 '16 at 20:20

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