1
$\begingroup$

I have a problem about adding an image with transparent background over the already existing material in a group of faces (or a single face) of an object. I saw similar questions in the forum but none of those gave me the result that I am looking for.

As example, I have cube which has been unwrapped, and has a material with normal map, mapping, etc

enter image description here

Then I want to add and image with transparent background on only one of the faces to get something like this (fake image using gimp)

enter image description here

I tried several approaches (multiple uv mapping, using mix nodes, etc) without getting the desired result. I cannot properly combine the two images to get what I want. Which would be the best approach to get this done?

Thanks in advance

Daniel

$\endgroup$
1
$\begingroup$

MixRGB node should do it for you. Connect the alpha from the image with transparency and use it as a mix factor.

MaskAlpha

$\endgroup$
3
  • $\begingroup$ Thanks for the response, but I want to put the image only on one face of the cube. The solution that you propose put it in all the faces. $\endgroup$ – DanielPerez Aug 20 '20 at 2:48
  • $\begingroup$ Make 2 versions of the texture (2 separate materials) - one with the transparent one, and one without. Give the base (non-transparent) texture to the whole cube, then select one face, pick the second material (the one with the transparency) from the material properties window, and hit "Assign" $\endgroup$ – Christopher Bennett Aug 20 '20 at 3:01
  • $\begingroup$ Thank you. I finally solved it following this tutorial youtube.com/watch?v=jn1KrLsGUUQ $\endgroup$ – DanielPerez Aug 20 '20 at 3:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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