14
$\begingroup$

I am trying to put a label over the transparent plastic bottle, but i was unable to do so, because when i build the bottle material(plastic) and mix it with the diffuse shader(using the label texture), the label gets faded. So the solution i found was to duplicate the bottle and scale a little bit and apply the label material on it. So it looks its the same material, but in reality its one material over the other. How can I make my plastic material be under my label material(image)? Here's how it looks: enter image description here

Here's my material setting for the plastic bottle: enter image description here

Thanks in advance.

$\endgroup$
0

1 Answer 1

14
$\begingroup$

To begin with, the add shader node can only be used to add shader/closure outputs (green sockets).

enter image description here

With invalid input, the output of the add shader node will always be 0. To add values (grey sockets), use a Math node (ShiftA> Converter > Math) instead.


Note that plastics do refract light, so a glass node will probably do just fine for the plastic material (if you were using the transparent node to reduce noise/render time, you might be better off with the fake glass setup).

As for mixing, you need to use a black and white stencil (in this case the alpha channel is perfect, but this will not always be the case) as the mix factor (I multiplied it with the output of this node group to remove the tiled repetitions of the image):

enter image description here

Here is the node setup (click for higher resolution):

enter image description here

And the result:

enter image description here

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .