I'm having an issue getting my texture to update before rendering using Three.js. I am trying using needsUpdate on both the materials using my texture and the texture itself before loading the model. I also set needsUpdate to true when first creating the materials here. For some reason, when the model is rendered on the page, it has the texture I had on the object back in Blender and only updates after one of the React hooks (I'm using dropdown lists and text boxes for scaling/toggles) is changed by the user.
Can anyone spot what I'm doing wrong?