I have a JSON file containing object data that I load into my scene using ObjectLoader. After adding the objects to the scene, I want to customize their textures by adding parameters like THREE.SmoothShading and an envMap. I know how to find a specific object in the scene by name: var obj = scene.getObjectByName( "bas", true ); However, I am unsure of how to select a material and apply modifications that will affect all objects using this material.
I have searched extensively online but cannot find any helpful information. Can someone please assist me with this issue?
Thank you and best regards