I am receiving a WebGL render warning on a scene, and I can’t see how I should fix it…
On Chrome I get the warning:
RENDER WARNING: texture bound to texture unit 8 and 18 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
and on Firefox I get:
drawElements: TEXTURE_2D at unit 1,4 and 10 is not a depth texture with TEXTURE_COMPARE_MODE, but the shader sampler is a shadow sampler.
Can someone explain what these warnings mean in somewhat simple terms? I have seen them addressed elsewhere online ( such as here and here ) but I’m yet to find an intuitive explanation/one that suggests how I can fix it.