Warning with shadows and PCF


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


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!