0
$\begingroup$

I have been trying this for 5 years failing, and although I've tried tons of different tutorials, I still seem to fail at something that should be quite simple.

I have a BMD pbr beautiful material. I want to overlay a translucent PNG texture onto it (for example a label on a bottle as in my example).

When on material preview, the result is what I want: enter image description here

But when I look at it on render view I still have this very frustrating grey background interfering:

enter image description here

Here's my nodes for the combo of material plus PNG:

enter image description here

...and I seem to not be the only one with this need! has anyone sorted this out already? Can anyone send me to the correct youtube tutorial where this is sorted? Can anyone tell me what to change/adjust on my nodes so that this works as I want?

THANK YOU!!!

$\endgroup$
3
  • $\begingroup$ I've added the file link into your question which should mean that it will be seen again by those in the know! - I've tried the usual trick which is to change the render engine to Eevee, change the material Settings > Blend Mode to Alpha Hash or Alpha Blend, and then change the render engine back to Cycles, but it doesn't seem to work in this case. $\endgroup$
    – John Eason
    Commented Jun 28, 2023 at 23:47
  • 1
    $\begingroup$ The acronym "BMD" is not a standard term in Blender or PBR (Physically Based Rendering) terminology. Just out of curiosity - what is it? The shader you call "BMD" is quite weird. For example it is for a metal, isn't it? But it has diffuse element and also it has fine directional noise bump that already mimics anisotropic effect, but also Anisotropic BSDF on top and weird input for roughness - it uses square root of the input, also gradient based on viewing angle, but its 50% mix with the color... None of this makes much sense... What is going on there? $\endgroup$ Commented Jun 29, 2023 at 8:48
  • $\begingroup$ Thank you again John! Martynas: yes, the BMD acronym is the name of the texture I used, which indeed is a pbr type of texture/material. I downloaded it from somewhere can't remember exactly where from or when, but it works lovely. I did not crate it so am not exactly sure how it works and why it is built as is. In this file the bottle is one mesh and the cilinder of "metal" where I was trying the label is another mesh as I did not want to disturb the bottle when trying different solutions Thanks for your answer! $\endgroup$
    – user50299
    Commented Jun 29, 2023 at 11:45

1 Answer 1

2
$\begingroup$

You should consider what this object is supposed to be in reality. It's a metal container that has a label on it. So those are 2 different materials - the brushed metal, and some sort of sticker or paint. You should be mixing materials/shaders, not colors. Also there is no reason to use "Darken" mode of Color Mix node, and you should use alpha as well to mix them.

Simple mix of 2 different materials should work:

enter image description here

$\endgroup$
8
  • 1
    $\begingroup$ It should perhaps be clarified, that unless the label for some unmentioned reason needs to be a separate object, the OP's goal is more easily achieved by using a single object, and mixing like you describe here. $\endgroup$
    – user143855
    Commented Jun 29, 2023 at 4:15
  • $\begingroup$ It really should be clarified - wasn't that what they were doing? :D $\endgroup$ Commented Jun 29, 2023 at 5:24
  • $\begingroup$ The blend file has two objects. One for the bottle, and one for the label. $\endgroup$
    – user143855
    Commented Jun 29, 2023 at 5:42
  • 1
    $\begingroup$ Yes, but then the blend file has many mysterious things in it. Who knows what they mean?.. :D $\endgroup$ Commented Jun 29, 2023 at 8:01
  • 1
    $\begingroup$ Martynas again thank you for your reply and the nodes you shared Will try setting that up. Titanius: Correct- In this file the bottle is one mesh and the cilinder of "metal" where I was trying the label is another mesh as I did not want to disturb the bottle when trying different solutions. And yeah Martynas the file has many misterrious things in it because of my ignorance :P $\endgroup$
    – user50299
    Commented Jun 29, 2023 at 11:47

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