# GLB files looks wireframe while i have set material.wireframe = false

**URL:** <https://discourse.threejs.org/t/glb-files-looks-wireframe-while-i-have-set-material-wireframe-false/25574>\
**Category:** Questions\
**Tags:** materials\
**Created:** [April 22, 2021, 2:48am UTC](https://discourse.threejs.org/t/glb-files-looks-wireframe-while-i-have-set-material-wireframe-false/25574 "2021-04-22T02:48:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yes-Jumby](https://avatars.discourse-cdn.com/v4/letter/y/f19dbf/32.png) [@Yes-Jumby](https://discourse.threejs.org/u/Yes-Jumby)\
**Post date:** [April 22, 2021, 2:48am UTC](https://discourse.threejs.org/t/glb-files-looks-wireframe-while-i-have-set-material-wireframe-false/25574/1 "2021-04-22T02:48:17Z")

</div>

I donot want model be wireframe:

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/e/e/ee01e16280019ef7563f46c6315ce29e61e78082.jpeg)  
here is my glb model:

here is the code:  
basicsA = new THREE.Mesh(new THREE.PlaneBufferGeometry(0.1, 0.1),new THREE.MeshBasicMaterial({ wireframe: true,transparent: true, opacity:0.0,color:0xffffff }));  
basicsA.position.set(0,0,0);  
scene.add(basicsA);

```
   loader.load( model_path, function ( gltf ) {
   thismodel = gltf.scene;
   thismodel.scale.set(1,1,1)		
   thismodel.position.set(0,0,0)	 	
   thismodel.traverse((node) => {
         if (!node.isMesh) return;
         **node.material.wireframe = false;**
         node.material.needsUpdate = true;
       });
           basicsA.add( thismodel );
   });
```

---

<div class="post-metadata">

**Author:** ![Mugen87](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mugen87/32/5645_2.png) [@Mugen87](https://discourse.threejs.org/u/Mugen87)\
**Post date:** [April 22, 2021, 7:42am UTC](https://discourse.threejs.org/t/glb-files-looks-wireframe-while-i-have-set-material-wireframe-false/25574/2 "2021-04-22T07:42:46Z")

</div>

`GLTFLoader` does not set `wireframe` to `true`. So setting the property to `false` will obviously not fix this issue.

Do you mind sharing the glTF asset in this topic?

---

<div class="post-metadata">

**Author:** ![Yes-Jumby](https://avatars.discourse-cdn.com/v4/letter/y/f19dbf/32.png) [@Yes-Jumby](https://discourse.threejs.org/u/Yes-Jumby)\
**Post date:** [April 22, 2021, 9:46am UTC](https://discourse.threejs.org/t/glb-files-looks-wireframe-while-i-have-set-material-wireframe-false/25574/5 "2021-04-22T09:46:42Z")

</div>

here is the glb model

> <https://github.com/Yes-Jumby/MyShareData/blob/b95eb436ab1c1999caccbe2cdcab452bab8b85a2/car.glb.zip>

thank you very much:)

---

<div class="post-metadata">

**Author:** ![Mugen87](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mugen87/32/5645_2.png) [@Mugen87](https://discourse.threejs.org/u/Mugen87)\
**Post date:** [April 22, 2021, 9:55am UTC](https://discourse.threejs.org/t/glb-files-looks-wireframe-while-i-have-set-material-wireframe-false/25574/6 "2021-04-22T09:55:07Z")

</div>

Not sure how the model was created (probably a scan) but your issue is not fixable with `three.js` or any 3D engine in general.

The problem is that the model’s geometry has no continuous surface. Instead the triangles seem connected in a loose fashion.

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/9/4/9427b8096b5aeb722b32a8fd125f9b2b5b1933f8.jpeg)

It’s best to fix this issue during design time meaning before you export to glTF.

---

<div class="post-metadata">

**Author:** ![Yes-Jumby](https://avatars.discourse-cdn.com/v4/letter/y/f19dbf/32.png) [@Yes-Jumby](https://discourse.threejs.org/u/Yes-Jumby)\
**Post date:** [April 22, 2021, 11:52am UTC](https://discourse.threejs.org/t/glb-files-looks-wireframe-while-i-have-set-material-wireframe-false/25574/7 "2021-04-22T11:52:44Z")

</div>

would you please to show me how see model in your way to see every face?i am a noob,show me a link or some code? thanks!

---

<div class="post-metadata">

**Author:** ![Mugen87](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mugen87/32/5645_2.png) [@Mugen87](https://discourse.threejs.org/u/Mugen87)\
**Post date:** [April 22, 2021, 11:53am UTC](https://discourse.threejs.org/t/glb-files-looks-wireframe-while-i-have-set-material-wireframe-false/25574/8 "2021-04-22T11:53:27Z")

</div>

I’ve imported the model into [https://gltf-viewer.donmccurdy.com/](https://gltf-viewer.donmccurdy.com/) and then just zoomed in.

---

<div class="post-metadata">

**Author:** ![Yes-Jumby](https://avatars.discourse-cdn.com/v4/letter/y/f19dbf/32.png) [@Yes-Jumby](https://discourse.threejs.org/u/Yes-Jumby)\
**Post date:** [April 23, 2021, 2:12am UTC](https://discourse.threejs.org/t/glb-files-looks-wireframe-while-i-have-set-material-wireframe-false/25574/9 "2021-04-23T02:12:13Z")

</div>

thanks very much. i have solved this issue:)
