1
$\begingroup$

I'm using a png with a transparent back ground for a texture, and while the transparent portion appears to be transparent, there is still a shadow under it from certain angles - but no shadow with other angles.

Here the light is casting the shadow at an oblique angle

And here, if the light is behind the observer, you can see the transprent part of the image casting a shadow.

Nodes I'm using

What am I doing wrong? How can I get rid of this "eclipse" shadow?

$\endgroup$
3
  • $\begingroup$ And my color in the transparent node IS set to full white, BTW. $\endgroup$ Mar 1 '18 at 16:37
  • $\begingroup$ Try disconnecting the Fac on the mix shader and manually varying between 0.0 and 1.0. How does that affect the extra shadow? (this will determine whether it's a problem with your alpha) $\endgroup$ Mar 1 '18 at 17:01
  • $\begingroup$ Using Felix's answer, I was able to solve the problem. $\endgroup$ Mar 2 '18 at 19:57
6
$\begingroup$

The texture in your picture is not fully transparent. Since the Transparent node is set to fully white, your texture is not fully transparent in its background. Otherwise the material setup is fine.

Notice the eclipse shadow only appears behind the texture and is the same color as the surrounding shadow. This means you probably have an error in your light path setup. A simple reason could be that the transparency passes is set to low, and Cycles cuts off the light rays not allowing them to pass through the transparent material often enough.

Fix this by increasing your Transparency bounces in Properties >Render >Light Paths:

demonstration_pic

$\endgroup$
1
  • 2
    $\begingroup$ Felix - Perfect!! Fixed in an instant, after struggling all morning trying to figure it out. Much appreciated! I have had Blender a couple of weeks, and learn something new every day. I love this stuff. $\endgroup$ Mar 1 '18 at 17:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.