Non-power-of-2 texture render warning in chrome Non-power-of-2 texture render warning in chrome google-chrome google-chrome

Non-power-of-2 texture render warning in chrome


I had a same problem with video texture. What you need to do is to avoid using mipmaps when texture is not power of 2 which are enabled by default:

_tmpTex.generateMipmaps = false;_tmpTex.minFilter = THREE.LinearFilter;_tmpTex.magFilter = THREE.LinearFilter;


If you're texture is not a pow of 2 size one, don't use (or do disable) mippmapping on that texture minifier method.


Putting gman's comment into an answer (it worked for me):

Make sure you are loading the image and calling `texImage2D' BEFORE you render the image.