console.log(model)
Search for material type somewhere there and search in children aswell if present.
Im guessing this is a working model you got somewhere, Im assuming that the UVs and textures are in place and the model creator simply put some glossy material on it, which probably isnt supported by threejs.
Okay this seems to be a model without any textures, just a material with color on it right ? If thats the case then it most likely has a material applied to it that doesnt work with threejs. Also, I havent really tested exporting models with CAD programs, but its possible that the normals are not properly placed on it aswell.
Could you link to the specific model? Does it show up in color with a three.js-based viewer like https://gltf-viewer.donmccurdy.com/ ? I would try to get the model looking as you expect, before you try to modify it.
The linked model works me. Just keep in mind, that the .gltf format textures come in separate folders. So you need to make sure that the folder location is correct. I recommend you download the .glb version, where the textures are combined into one file.
Akroob, Not sure which linked model you are using?
The Sketchfab TVR Tuscan S Special Edition 2001 glb does display in color when imported into JavaScript.
The FreeCAD 0.22.0dev.35209 exported colored car glb displays in color with viewed by the 3D Viewer — but displays as black when imported into JavaScript.
Usually when things appear dark it’s because you don’t have enough lighting. For anything metallic be sure to use an environment map for lighting. Also check for any warnings in the JS console. If you can’t get that to work, please share a complete demo, as we don’t know anything else about your code.
It appears your scene has only an ambient light. That isn’t generally enough, and won’t work at all with metallic materials (all materials on this car are metallic). I would consider turning metalness off on these materials, and also using an environment map. A quick way to do that is THREE.RoomEnvironment: