5
$\begingroup$

I am playing with the eevee render, and I am struggling on how to render projected shadows from objects textured with alpha channel.

Here is a reference render on cycles on what I want to achieve.

enter image description here

And here is my result on Eevee

enter image description here

My texture is pretty simple. enter image description here

And I have turned on the shadow checkboxes on both the light panel

enter image description here

And my render panel

enter image description here

I am using the 2.80 A build from 2018-11-23

Can this type of shadows be rendered at all?

$\endgroup$
0
7
$\begingroup$

You have to change some of the material's options :

demo pic

It works for me with Blend mode to alpha blend, and transparent shadow to clip.

$\endgroup$
3
$\begingroup$

The current version of blender has slightly different ui to do this now, so I decided to add my answer as an update. Without changing any settings and using a basic noise texture for transparency in a cube, I notice that I get no transparency even though the nodes are completely correct. Here's the result:

without settings changed

The fix is easy. select the material in the properties tab, scroll down until you reach the settings in the below picture.

enter image description here

click the blend mode dropbox, and select alpha clip

enter image description here

now the alpha works as shown, but the shadows still aren't working.

enter image description here

go back to the settings, select the shadow mode drop box, and turn it to alpha clip.

enter image description here

This fixes the alpha! anyway, just thought I would update.

enter image description here

$\endgroup$
2
  • $\begingroup$ Thanks for the update. It is always wellcome. $\endgroup$
    – Rafael
    Sep 12 at 4:04
  • $\begingroup$ no problem, @Rafael , thanks for the support. =) $\endgroup$
    – Millard
    Sep 12 at 4:05

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.