Black Refractions (eye geometry)

   2335   2   0
User Avatar
Member
7 posts
Joined: June 2015
Offline
Hello,

I'm using Mantra for the first time and I'm having a bit of an issue getting my character's eyes to render correctly. My eyeballs are set up with the usual two pieces of geometry and the outer transparent surface turns the eyeball black. I'm using a principled shader core for the eye exterior with refractions and fake caustics turned on. I also tried using a classic shader core. The interior eye is using a principled shader with a metallic iris and subsurface turned on. I tried turning off the shadows using this tutorial: https://www.youtube.com/watch?v=xd7YMpTMZP8 [www.youtube.com]

Using the method in the video, I was able to get the iris to render correctly, but the eye whites are still black. I feel like there's a setting I'm missing like ray depth that's causing this. Any help would be appreciated, thanks!

Edited by julian_S - Nov. 2, 2019 09:31:20

Attachments:
no_shadows.jpg (266.7 KB)

User Avatar
Member
8045 posts
Joined: Sept. 2011
Offline
It's most likely a ray bias issue. The minimum distance between a refractive surface an the next surface to hit is the ray bias. The default ray bias in mantra is 0.001, which depending on scene scale is probably way too big to capture the gap between eyeball geometry layers.
Edited by jsmack - Nov. 2, 2019 13:32:27
User Avatar
Member
7 posts
Joined: June 2015
Offline
That was exactly it, thanks!

Attachments:
fixed.jpg (252.2 KB)

  • Quick Links