0
$\begingroup$

I want to add transparency to only a part of a mesh and not the whole object. For example making pants' pocket area slightly transparent so what's inside the pocket can be seen. The image is what I'm trying to make it similar to. How can this be achieved?enter image description here

$\endgroup$

2 Answers 2

0
$\begingroup$

idk if this is exactly what you're looking for but if you're using the principled BSDF, you're first going to want to adjust the alpha slider of the pocket's material.

enter image description here

Then you're going to change the blend mode to alpha blend and for the shadow to something like alpha hash. Then you should get some sort of translucent material.

enter image description here

$\endgroup$
1
  • $\begingroup$ I think this is a little different to what I'm having to do. Since I don't want the whole pocket material to be half invisible, I need to find a way to select only a part of the pocket material and make it invisible. Anther method I tried was using weight paint and mask modifier but it makes it completely invisible. I have added an image as an example. $\endgroup$
    – Search
    Commented Feb 18, 2023 at 9:15
0
$\begingroup$

You can create an image with black and grey and use it as a mask between your basic texture (here a Principled BSDF) and transparency. In Eevee don't forget to choose Material > Settings > Blend Mode > Alpha Blend:

enter image description here

$\endgroup$
5
  • $\begingroup$ Could you help me a little more with your method? adding that image to my own mesh didn't seem to make any difference. I also added an image on my post as an example. $\endgroup$
    – Search
    Commented Feb 18, 2023 at 9:12
  • $\begingroup$ please pack your image (File > External Data > Pack Resources), save and share your file, use blend-exchange.com or another platform like workupload $\endgroup$
    – moonboots
    Commented Feb 18, 2023 at 9:14
  • $\begingroup$ Using the image as a mix factor and a fully Transparent BSDF (fully white color) as the transparency makes the Transparent BSDF act like an alpha channel - so this setup is redundant as you can simply plug the image into the Alpha input of the Principled BSDF. $\endgroup$ Commented Feb 18, 2023 at 14:57
  • $\begingroup$ It is not redundant as I didn't plug it into the Alpha but yes it's the same as plugging it into the Alpha $\endgroup$
    – moonboots
    Commented Feb 18, 2023 at 15:07
  • $\begingroup$ @moonboots Haha, you're right... no native speaker, struggling to find the correct words... redundant in the sense of, you create an artificial alpha channel although there is already one 😆 $\endgroup$ Commented Feb 18, 2023 at 16:06

You must log in to answer this question.

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