Glass Problem!

Hey guys,

So this is what i am trying to make and i have a white plane behind the glass material and everything looks fine! But as soon as i remove the plane from the background, everything goes dark and even my glass shader looks weird! it almost looks like a mirror and it loses the transparency (alpha channel).



Do you know whats wrong and how i can solve this issue?

I want to get the glass completely transparent with alpha channel so that later, i can add alpha over the white background!

best,

It certainly looks like it’s thinking of the metal object as a light-source and showing you light that’s bouncing off the inside of the glass tube.

I normally treat “glass” and such using compositing techniques – trying for “good enough.” I would treat the metal tube and the glass separately, and the reflection from the glass third, and the shadow cast by the combined object fourth. Then composite the whole thing together. Approaches that try to be “physically correct” are too uncertain and take too long to come up with the wrong thing. But, if I can come up with isolated pieces of what the light appears to be doing in the scene, I can then combine them precisely.

Now, I’m not doing something that anyone’s going to be staring-at for hours and analyzing …

Thank you for your reply! but why would it think that the metal object is a light source? the material on that is pretty simple and there is no emission shader or light emitting object on the scene! also the whole treating them separately got me a bit confused! this is a pretty simple setup and i have no idea why everything get messed up by just removing 1 plane object from the background! Not even sure why the glass only works normal with the plane object behind it…

You took away the white thing that was being reflected, and now nothing is reflecting the white thing anymore?

Too much shouting, no test file, and a double post
https://blenderartists.org/forum/showthread.php?448874-Glass-Issue!

The problem is the refractive component in the glass shader and Cycles can’t calculate alpha transparency for it.

So what can i do? is there anyway that i make the background complete white without being affected by the hdri

Yes…
But are you thinking background or backdrop or both?
Anyways… Here’s a fish to fill you eagerness & hunger :ba:

First post says transparent background, and one option to do it is to make a fake glass. Transparent and glossy mixed with fresnel would include just the reflections. Background plane set as shadow catcher to get transparent shadows.


AMAZING!! this solved my problem! you rock :slight_smile:

np :wink:
remember… many know it but just don’t show it - if you really feel so good, share and help others
that way you thank me :smiley: and i will keep burnin