Jump to content

Recommended Posts

blob.png.4a7c03a2b0d3361f9b6b41152f785600.pngblob.png.393d1a09b94e9bf88abdad743203ef84.png

We're looking down on a wineglass with liquid in it.

Anyone know why I'm getting this thick black edge along the top edge of the wine glass? (Left image is refraction pass, right image is beauty pass)

It occurs when I drop raytracing bias down to a small value - say 0.0001 - I need this to be this small in order for my bubbles to render correctly.

The glass shader is a principled shader, ior 1.5, transparency 1, fake caustics on, PBR. 

Share this post


Link to post
Share on other sites

so it's definitely the principled shader. If i swap in a classic shader then it goes away.

So it appears to be the principled shader refraction that's causing the issue.

Not yet found a solution though.........

Share this post


Link to post
Share on other sites

so after buggering about for far to long on this - it's simply the reflection limit on the mantra rop that needs to be some huge number in order to fix this.

Share this post


Link to post
Share on other sites

There are a few things that could be causing the issue. If you don't have enough things to reflect, like a sky or HDR, that can cause it. Black in your refractions can also come from not having a high enough trace depth.  Changing the bias changes the way refractions are computed, but it wouldn't remove or the black or fix the problem, it is probably just distorting it to angle small enough where you can't see it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×