1

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

p2or
  • 15,860
  • 10
  • 83
  • 143
Marc
  • 2,147
  • 8
  • 27
  • 50
  • 1
    look at your own question here: http://blender.stackexchange.com/questions/40642/label-not-showing-up-as-transparent-or-showing-at-all –  Feb 01 '16 at 18:57
  • 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. –  Feb 01 '16 at 19:28
  • My answer will help you here. – David Feb 02 '16 at 18:03

1 Answers1

3

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

  • Sorry, but I DID that once already. Here look. You can clearly see I had the alpha plugged into the color. http://postimg.org/image/v9a0amzo5/ – Marc Feb 01 '16 at 19:26
  • 1
    You don't need the trasnparent shader node, nor the mix shader node. –  Feb 01 '16 at 19:50
  • I unplug the mix shader. I unplug the transparent shader. I plug the alpha into the Color AND the Fac and STILL wrong http://postimg.org/image/ucvshqz5r/ – Marc Feb 01 '16 at 20:07
  • 1
    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. –  Feb 01 '16 at 20:12
  • Ok. except when tried that th color was completely wrong. http://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. – Marc Feb 01 '16 at 20:20
  • set the color on the mix rgb node: http://i.stack.imgur.com/72JKi.gif –  Feb 01 '16 at 20:24
  • But doing it THAT way does not allow the color to show THROUGH the transparent area --correct? What it's doing, in reality, is picking a color to make the transparent color the png same color of the display --Thereby completely defeating the idea of 'transparent' - at least the way I understand it. – Marc Feb 01 '16 at 20:37