x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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!!

Product Version: UE 4.9
Tags:
glass_ok.jpg (739.7 kB)
glass_not ok.jpg (727.8 kB)
more ▼

asked Sep 02 '15 at 09:00 AM in Rendering

avatar image

razanus
1 3 6 7

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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

alt text

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

alt text

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

Two-Sided

alt text

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 alt text

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 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,

Andrew Hurley

more ▼

answered Sep 02 '15 at 06:55 PM

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question