ShadowMaterial strange shadow

Hi!

Played around with shadows a bit - expected result here would be a longer shadow to the bottom left - but got this strange one https://codepen.io/aaroniker/pen/37106e0d3d022a81ed723fc829dc2cf3

Am i just missing something? Any links for further reading?
Thankful af for any help here :slight_smile:

Greetings, Aaron

It seems you have not yet configured the frustum of the shadow camera correctly. Try it like mentioned here:

Updated demo: https://jsfiddle.net/5dzhyx3j/

1 Like

oh thanks a lot! just did not thought about that - problem obv solved :slight_smile: