1
$\begingroup$

First time posting in blender but it's important. Thank you for your support.

I have a model which have a Mix Shader with Glass and transparency shaders mixed, both with a texture as Color.

When I use the nodes for compositing, the glass of the model doesn't transparent with the background. If I set to Multiply, all the model multiplies and I can see through the glass, but cannot with Mix.

This is the plane And this is the Node View The plane with the material

Someone can help me with these? Any advice for handle those situations? Thank you very much.

$\endgroup$
0
$\begingroup$

You don't need an ID mask, just use a transparent background for your scene and then composite using alpha over.

Enable film transparent,

enter image description here

Then use alpha over to combine the rendered image with the background:

enter image description here

The transparency from the glass should work fine.

| improve this answer | |
$\endgroup$
  • $\begingroup$ Related: blender.stackexchange.com/questions/38333/… $\endgroup$ – user1853 Jun 25 '18 at 22:30
  • $\begingroup$ Yes! That's what exactly I was searching and worked perfectly!! Thank you very much! So, can I make shadows over the person? Camera is positioned to the viewport and idk if it's difficult to model a mesh for doing shadows with this perspective. Thank you again, very very much $\endgroup$ – UnsignedFoo Jun 26 '18 at 6:15
  • $\begingroup$ You need to create some 3d object that acts as a shadow catcher, so that it will be transparent except for the shadow. Read: blender.stackexchange.com/a/87314/1853 and blender.stackexchange.com/questions/47569/… $\endgroup$ – user1853 Jun 26 '18 at 14:20

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.