I’m using the PCSS shadow which works fine if I use a spotlight but the soft shadow gets basically completely hard if I use a directional light. Simply comment in/out the SpotLight/DirectionalLight in the PG to see what I mean.
Hope someone can explain to me what’s going on there.
The main issue is that a directional light is fully orthographic so there is no “diffusion” on the edge as we can see in a spot resulting from the projected angle.
In 4.2, the light.orthoLeft/orthoRight/orthoBottom/orthoTop properties were not exposed, so you must use the private properties instead light._orthoLeft/_orthoRight/_orthoBottom/_orthoTop: