Hi,
something seems wrong with shadows lately.
Here, screenshots of the exactly same scene in v5.0.0-alpha.16 from preview and in 4.2.0 from CDN.
Funny though, most of models I use work just fine. But in some, it looks like shadow generator missed some transformation in the hierarchy.
Sounds familiar? Or, need a playground example?
A playground would be great!
There has been some changes in shadow generation lately but the PGs we tested with were ok.
Alright, here you go: https://playground.babylonjs.com/#JA1ND3#350
Four characters, two casting shadows fine and two not so fine.
Press z to cycle through, a to toggle animation.
Thanks for the repro!
Here’s the PR that will fix the problem:
BabylonJS:master
← Popov72:fix-shadow-skeleton
opened 03:51PM - 08 Apr 21 UTC
1 Like