Glass Shader - Fullscreen Issue w/ Negative Refraction Values?

CaliCoastReplay
Thu, 22 Dec 2022 12:01:52 +0000
Rendering

Hey all!

I have a really nice third-person variation on the classic marble roller going, and have a really nice glass shader going along with it, based on this tutorial.

I am having an issue with the refraction, however, in fullscreen mode. (Using UE 4.25.4)

Here’s my lovely marble in windowed mode, in-editor. This is the way it’s supposed to look.

And here’s my marble in fullscreen mode - where a large, ugly occlusion appears at the top of the marble.

I am using a negative refraction index of -0.7 as I discovered that it causes the refraction to appear upside-down, which is the expected behavior for a perfectly round glass sphere - as photographers know, a perfect sphere will cause an upside-down spherical refraction.

Are negative refraction indexes supported behavior, though?

The windowed mode looks great, and is the way I’d prefer it to look all the time.

Thanks for any help!

3 posts - 2 participants