2
$\begingroup$

The scene : a simple cube with the front face deleted, and a simple light behind the cube. The light could be seen inside the cube. It comes through the edges ! How to prevent this ? Thanks a lot ! Emmanuel enter image description here

$\endgroup$
2
  • $\begingroup$ Have you tried Cycles rendering engine? $\endgroup$
    – Yash
    Feb 7, 2019 at 17:27
  • $\begingroup$ Yes, it is OK with Cycles. But I want to try eevee ! $\endgroup$ Feb 7, 2019 at 18:34

1 Answer 1

8
$\begingroup$

Welcome Patrick!

Yes, there are a couple of ways to handle these problems in EEVEE.

Thicker geometry reduces the problem:

enter image description here

Increasing the Shadow Exponent value on the spotlight makes the fade shorter.

enter image description here

Adding contact shadows fills in the fade:

enter image description here

It should however be noted that Contact Shadows are created with the depth map and may create undesired artefacts. This could be handled in a single shot but if you render a sequence it might be harder.

The VSM shadows (In render settings) generates a bit noisier shadow gradient but should be hided with less geometry.

enter image description here

Or if you absolutely need to keep your geometry paper thin you could add a tiny contact shadow.

enter image description here

Here is where you find the settings: enter image description hereenter image description here

$\endgroup$
2
  • $\begingroup$ Thank you very much Jackdaw, I tried it successfully !! Do you think this situation will change in the future ? $\endgroup$ Feb 8, 2019 at 13:54
  • $\begingroup$ There are other ways that could complement the current solutions. It would be nice to be able to have ray traced shadows and/or baked shadows. I guess that it comes down to how many developers we can found. $\endgroup$
    – Jackdaw
    Feb 8, 2019 at 18:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .