It was confirmed that it was not related to other factors.
In addition, we confirmed the operation of webGL2 in the latest version beta 2,5.
(And so is PG)
However, it cannot be used in the latest version due to an unresolved problem of recast.
Same as for these links
and
Back to the main topic, we are looking for a way to solve the shadow error in a specific version (5.0.0 alpha 37),WebGL2.
Changed all versions to 4.2.1.
and everything has been resolved
but I think the original problem has not been solved
so i look forward to the official release of 5.0.0
I am not getting shadows with BJS 5 latest at all in my project, trying to solve the issue. Maybe it’s my fault tho I am not sure yet, but no errors in the console and I did quite a lot of shadowing stuff before. Maybe some defaults were changed…
What’s the game you’re working on? Looks cool from the screenshots.
You can’t mix versions of Babylon.js, you must use the same version for all the packages you are using: in your first screenshot you are using some modules in 5.0 and others in 4.2.
Probably because there was nothing called and used in version 4.2, I think it would not have been affected even if the versions were mixed.
Also, by checking these issues in the forum, other projects are not mixing them.