PCF and PCSS on mobile

It does work now.

The error is:

babylon.js:16 BJS - [11:04:12]: Error: FRAGMENT SHADER 0:97: S0032:
  no default precision defined for parameter 'webgl_4aeb46af4241331f'

It does not make sense to me, line 97 is in vec3 vNormalW; and there’s no variable named webgl_4aeb46af4241331f in our code…

[…] We already got this error:

This latter post suggests that CSM is working even using PCF (so maybe it will also work with PCSS), so you can try it (but be warned that CSMs are even more taxing on performance than standard shadow generator!)

1 Like