Warning with shadows and PCF

https://www.babylonjs-playground.com/#R1EVD0#18

You get this warning in the console log:

[.WebGL-000001EED03407C0] GL_INVALID_OPERATION: Mismatch between texture format and sampler type (signed/unsigned/float/shadow).

It only happens with PCF, the other types of filtering don’t trigger the warning.

Woot! this one is for Captain @sebavan

I ll fix it ASAP

1 Like

PR is up Fix Warning in PCF by sebavan · Pull Request #7346 · BabylonJS/Babylon.js · GitHub

Thanks!

I will mark it as resolved when I have tested the fix against one of my project that gives those warnings too.

Tested and no more warnings, marked as resolved!

2 Likes