Problem with glass material

Hy, I have attached 3 screenshots showing a problem I have with my glass material. When I look through a transparent object (a glass of wine) against a bright background the object itself starts disappearing, like bwing cliped somehow.
Does anybody knows what can cause this problem and can it be solved. Thank you very much!!

Hey razanus,

Your materials set up is a bit different since you are using a Custom Reflection Vector with the Cubemap Texture, but take a look at the screenshots below and see if you can combine your diffuse color with my own set up.

Glass Material Set Up

I have outlined the materials properties to make sure you are using the same values. The Separate Translucency is so your material is affected by your scenes Depth of Field.

Two-Sided Unchecked

Above is an example of what it looks like to have two-sided unchecked.

Two-Sided

Notice the material renders a bit darker now that two-sided is checked. This is where creating parameters within your material and creating a material instance comes in handy!

Two-Sided at Half Opacity

By creating a material instance, I was able to quickly change the values of my parameters to get the look I wanted without having to recompile my shaders.

The material I used was made by following along with [this][5] tutorial, made by one of our community members! I hope this helps resolve your issue but let me know if you still need help.

Cheers,

1 Like