I have a web app built in react-three-fibre and react which is in production that’s working as it should!
However… my problem is that I can’t seem to permanently disable some THREE.BufferGeometry and THREE.WebGLRenderer console warnings from the three.module.js file. I have 1000s of them and they are unfortunately affecting the performance.
I have tried deleting them from the node_modules which does remove them when in development, however in production they are reintroduced when I build and when the node_modules are created again. Here are some of the warnings I’m seeing:
THREE.BufferGeometry: .addAttribute() has been renamed to .setAttribute().
THREE.BufferGeometry: .applyMatrix() has been renamed to .applyMatrix4().
THREE.WebGLRenderer: highp not supported, using lowp instead.
Is there a way I can have these warnings removed in production as well?
Thank you in advance for any assistance that you can provide.