Weird shadow weird shadow

Hello, guys
I got weird results when generating shadows in the scene. The shadow of street light lacked details and was simplified to rectangle, and the shadow seemed to be superimposed on the zebra crossing on the ground, which was not clear enough.


I created a box in the scene for comparison. The box can generate shadows normally, but the shadow was very jagged.

my PG

You could probably use cascaded shadows instead ? @Evgeni_Popov is the king of the shadows :slight_smile:

1 Like

For such a scene you definitely want to use CSM:

Doc: Cascaded Shadow Maps | Babylon.js Documentation


Thank you :smiley:

Thank you for your help! :smiley: