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"

Better refraction on translucent surfaces

Alright, no doubt this has been asked to death because a lot of people seem to be running into this problem. But has anyone figured out how to properly apply refraction to translucent surfaces such as water?

alt text

This picture I found somewhere on the internet shows how when you look through a water surface from above, the object seems to kink and stem away from where it enters the water surface.

Now whenever you try to use refraction on water in Unreal, everyone gets this: (ignore the weird green surface, it's just a place holder)

alt text

So basically my question is, has anyone figured out how to create some kind of refraction that properly mimmicks what we see in real life?

Product Version: UE 4.16
more ▼

asked Jul 15 '17 at 04:19 PM in Rendering

avatar image

90 5 9

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

1 answer: sort voted first

Screen-space refraction suffers from this kind of issues. There is no all-in-one solution, but commonly reducing refraction index back with distance and/or surface angle and maybe even depth difference help to hide the issue you are showing at the screenshot. There is also refraction depth bias you can tweak in material attributes.

more ▼

answered Jul 16 '17 at 02:26 PM

avatar image

7.9k 130 31 295

avatar image michael93 Jul 17 '17 at 08:01 AM

I had some success in lerping the refraction output with "1" using the system I created to control depth translucency. It stopped the tear at the surface but created a heap more issues. I thought about creating my own refraction system one day, but it's above my current skill. Just thought I'd ask if someone had a solution figured out, thanks for taking the time.

(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