Jump to content

Black in glass


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. 

Link to comment
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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...