Hi,
I’m having trouble figuring out how to fix the imported 3D model in this scene. It appears transparent at the tank behind the driver’s seat and the sides. This is what the model should actually look like. I tried importing it into blender and unchecking the ‘Backface Culling’ and ‘Show Backface’ options at the material of the body without luck.
I also tried the following in my code:
gltfLoader.load(
'/models/vintage_racing_car/vintage_car.glb',
(gltf) => {
model = gltf.scene
model.traverse(function (node) {
// console.log(node.name)
if (node.isMesh) {
// console.log(node.name)
// console.log(node.parent)
node.material.side = THREE.DoubleSide
// node.material.opacity = 1
console.log(node.material)
//node.material.transparent = false
}
})
...
without luck as well. Any ideas about what’s going wrong will be appreciated!