I’m working on a project that uses the following filter.
shadowGenerator.filter = ShadowGenerator.FILTER_PCF
On PC it works great, but on certain mobiles (a Samsung mobile particularly) I’m getting some errors.
BJS - [16:47:04]: Error: FRAGMENT SHADER 0:148: S0032: no default precision defined for parameter 'webgl_4aeb46af4241331f' babylon.js:16 BJS - [16:47:04]: Trying next fallback. BJS - [16:47:04]: Unable to compile effect:
and then a lot of errors that I’m not sure are particularly useful.
It works fine on my Pixel phone, but this error is happening on a Samsung Galaxy S21 (Exynos I think).
If I use a different filter it seems to work fine. Is this expected? I would hope that it would fallback rather than fail?
I’m using babylon 4.2.