Shadow size/position issue, sometimes

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:
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:

1 Like