Incorrect direction of shadow after enabled Exponential shadow map

Version: 8.3.1
Engine: WebGL2
Playground:

Steps to reproduce:

  1. Open the playground
  2. Look at the shadow

Expected:
It looks something like if “Exponential shadow map” not enabled.

Actual:
Shadow appears at both direction.

Notes:
Blur exponential shadow map suffers the same issue here

cc @Evgeni_Popov

It’s a known problem with ESM where shadows are generated for geometry that is below the shadow receiver.

You can fix it in different ways:

1 Like