Glass window renders black (no transparency)

Glass window renders black (no transparency)

user20202022
Contributor Contributor
3,177 Views
5 Replies
Message 1 of 6

Glass window renders black (no transparency)

user20202022
Contributor
Contributor

It's been a while since I did any lighting and rendering in Arnold and I wanted to brush up on it a little bit. One thing that's driving me crazy  is getting glass to actually render transparent. I've been digging through quite a few posts, but haven't been able to solve it yet.


I have a really simple scene with a teapot sitting on a window sill. The lighting is a three-point light setup with Arnold area lights. The glass was created with an ai standard surface and a glass preset applied to it. The shape node on the glass has "opaque" unchecked and the normals are correct. Also, there's no skydome, stage, or anything else in the scene. Currently, my lights are unlinked from the glass, but I was having the same issue before even when they were linked (just wanted to mention in case it's relevant).

 

I want to render this out so that I can comp in a video of a backyard in post (but still get the reflection of the teapot on the glass). When I save my rendered image however, the glass is black (I've tried tiff, exr, and png file types).

 

Any thoughts on what I'm missing? 

Accepted solutions (1)
3,178 Views
5 Replies
Replies (5)
Message 2 of 6

birkE9MED
Contributor
Contributor

Prehaps it could something as simple as your transmission ray depth is set too low (default is 8 or maybe your alpha is wrong somehow.

0 Likes
Message 3 of 6

user20202022
Contributor
Contributor

Thanks, I bumped my transmission ray depth up to 12, but unfortunately I'm still getting the same issue...

0 Likes
Message 4 of 6

Anonymous
Not applicable

Check emissions tab. If it has a value greater than 0. It will apply the color set there to the glass 

 

also check ior should be around 1.5

0 Likes
Message 5 of 6

user20202022
Contributor
Contributor

Emissions is set to 0 and ior is at 1.520, still no luck though 😞

Message 6 of 6

user20202022
Contributor
Contributor
Accepted solution

Did some more digging on the web and I think I found the solution on an old Reddit thread. 

 

Under the Transmission tab on my glass shader, I turned on "Transmit AOVs" (even though I'm not currently using AOVs). They also recommended, if you're rendering out as a tif, to use float32 (seems to work fine for me with int8 too though). Everything seems to be working as expected now. 

 

Thanks everyone! Hopefully this helps anyone else that comes across this issue 👍