# Mesh looks transparent depending on the orientation of the camera

**URL:** <https://discourse.threejs.org/t/mesh-looks-transparent-depending-on-the-orientation-of-the-camera/16833>\
**Category:** Questions\
**Tags:** materials\
**Created:** [July 6, 2020, 5:54pm UTC](https://discourse.threejs.org/t/mesh-looks-transparent-depending-on-the-orientation-of-the-camera/16833 "2020-07-06T17:54:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Apollinaire](https://avatars.discourse-cdn.com/v4/letter/a/6f9a4e/32.png) [@Apollinaire](https://discourse.threejs.org/u/Apollinaire)\
**Post date:** [July 6, 2020, 5:54pm UTC](https://discourse.threejs.org/t/mesh-looks-transparent-depending-on-the-orientation-of-the-camera/16833/1 "2020-07-06T17:54:08Z")

</div>

I’m loading a mesh from a .fbx file, using FBXLoader.  
Some parts of this object are not rendered depending on the orientation of the camera.  
The basic example would be a surface. If you look at it from one side, you can see it, but if you look from the other side, it disappears / part of it disappears. This is unwanted, it should not have any transparency and be rendered whole from any direction. I cannot show directly my use case due to confidentiality matters.  
The same .fbx file imported in Blender is rendered correctly from every orientation.  
Once loaded, the material of the mesh is a MeshPhongMaterial. It’s `transparent` setting is `false`.  
Anyone has an idea of what could cause this?

Note : I suspect that the mesh is composed of two layers very close to each other, because it’s representing an object with a thin thickness. These fbx files are generated programatically from an external source so I can’t really fix / study them myself. Could that be the source of the problem?  
I’m not experienced with 3D too much so I don’t have the skills to debug this rendering effect myself.

---

<div class="post-metadata">

**Author:** ![Heiddo](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/heiddo/32/11844_2.png) [@Heiddo](https://discourse.threejs.org/u/Heiddo)\
**Post date:** [July 6, 2020, 7:27pm UTC](https://discourse.threejs.org/t/mesh-looks-transparent-depending-on-the-orientation-of-the-camera/16833/2 "2020-07-06T19:27:25Z")

</div>

I don’t know about fbx loader, but does the object look like this object with parts missing? [Glitch](https://glitch.com/~working-shader-sky)

If so it might just be you need to set the material side to THREE.DoubleSide; when you import the object. Go here: [three.js docs](https://threejs.org/docs/#api/en/materials/Material) and CTRL-F ‘side’.

If that’s not it, don’t worry much smarter people than me will come along soon and help you i’m sure 🙂

---

<div class="post-metadata">

**Author:** ![Apollinaire](https://avatars.discourse-cdn.com/v4/letter/a/6f9a4e/32.png) [@Apollinaire](https://discourse.threejs.org/u/Apollinaire)\
**Post date:** [July 6, 2020, 7:52pm UTC](https://discourse.threejs.org/t/mesh-looks-transparent-depending-on-the-orientation-of-the-camera/16833/3 "2020-07-06T19:52:49Z")

</div>

Thanks for your advice! This looks very similar to what I’ve got, especially the glitch on the ceiling of that building.  
Setting material.side to THREE.DoubleSide does fix it. You’ve hit the nail right on the head, and honestly you look like one of those “much smarter people” 😄  
Thanks a lot!
