You need to set the texture parameters for non-power of 2 textures. Adding these 2 lines fixed the issue gl.texParameteri(gl.TEXTURE_2D, gl.
確定! 回上一頁