I see warnings like the following in the console for my threejs project.
THREE.WebGLRenderer: Texture has been resized from (613x345) to (512x256).
Researching around, it looks like its not something to be concerned about. But I would like to remove these logs to keep the console clean. How can we achieve that?
Setting
texture.minFilter = THREE.LinearFilter;
will turn off mipmapping and the need for resizing to a power-of-two.
Or, manually resize your textures to a power-of-two before you use them.
three.js r.102
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With