Weird bug involving transparency
lou_harper
Posts: 1,163
There is this bug that happens to me all the time–when part of an object is fully transparent whatever is behind it becomes invisible. I'm attaching image to show.
Any idea why this is happening?
bug.png
1124 x 780 - 1M
Comments
I'm attaching a new file with a green background, because the froum changes transparent pngs into jpgs.
(edit)
Are you sure that isn't just refraction causing you to sse the background quite legitimately? Is there an index of refractions other than 1 applied, with a non-zero strength, and does adjusting the index of refraction change the effect?
Hm. I didn't think of refraction. Maybe.
I noticed some weirdness myself yesterday. Saved some renders out as PNG or TIFF, and when openning it in PS, I could fully see the checkerboard through a bunch of things I shouldn't, like people's faces. I tossed in a neon pink layer behind the render, but the neon pink did not show through the people thankfully. No idea why it does this.
That was my first thought also... but wouldn't reflections/refractions show the HDRI, even if dome visibility is switched off?
I did some quick experiments, and objects with refraction usually reflect the surrounding HDRI but sometimes they do "reflect nothingness", if dome visibility is switched off! Very strange.
To avoid this, either switch on dome visibility, or choose "Backdrop" in the Environment tab.
Dome visible: glass cube is reflecting the blue HDRI
Dome visibility off: note the "hole" in the middle
Dome visibility still off, but Environment is switched to "Backdrop": the hole is gone, the cube is back to reflecting the HDRI.