# Unwanted transparency in duplicated object side

**URL:** https://forum.babylonjs.com/t/unwanted-transparency-in-duplicated-object-side/6488
**Category:** Content creation (3dsMax, Maya, Blender, glTF)
**Tags:** material
**Created:** [October 21, 2019, 3:46pm UTC](https://forum.babylonjs.com/t/unwanted-transparency-in-duplicated-object-side/6488 "2019-10-21T15:46:43Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![ryannewelluk](https://avatars.discourse-cdn.com/v4/letter/r/47e85d/32.png) [@ryannewelluk](https://forum.babylonjs.com/u/ryannewelluk)
#### Post date: [October 21, 2019, 3:46pm UTC](https://forum.babylonjs.com/t/unwanted-transparency-in-duplicated-object-side/6488/1 "2019-10-21T15:46:43Z")

</div>

I have a glTF model from Blender which is displaying unwanted transparency. I originally duplicated the model and flipped it over to create the whole thing. The duplicated half is showing the transparency. I’ve attached a screenshot from Sandbox.

 ![sandbox](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/b/b7408e0429f31b2b6364d8679bfe4b17173b2fb0.jpeg)

I tried switching off backface culling which made the duplicated side opaque but gave it a completely different colour.

---

<div class="post-metadata">

### Author: ![JCPalmer](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/jcpalmer/32/42_2.png) [@JCPalmer](https://forum.babylonjs.com/u/JCPalmer)
#### Post date: [October 21, 2019, 4:00pm UTC](https://forum.babylonjs.com/t/unwanted-transparency-in-duplicated-object-side/6488/2 "2019-10-21T16:00:37Z")

</div>

Seems like it could be normals issue, not transparency. Try turning off backface culling to be sure you have the right problem.

---

<div class="post-metadata">

### Author: ![JCPalmer](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/jcpalmer/32/42_2.png) [@JCPalmer](https://forum.babylonjs.com/u/JCPalmer)
#### Post date: [October 21, 2019, 6:01pm UTC](https://forum.babylonjs.com/t/unwanted-transparency-in-duplicated-object-side/6488/3 "2019-10-21T18:01:59Z")

</div>

Ahh, did not see you did the culling test at the bottom of your post. Looks like you have both problems. I do not do / use that exporter. You can probably fix it on the BJS side by changing the material, if that is acceptable till anyone who knows something about gltf coming from Blender:

`material.transparencyMode = BABYLON.PBRMaterial.PBRMATERIAL_OPAQUE;`

---

<div class="post-metadata">

### Author: ![ryannewelluk](https://avatars.discourse-cdn.com/v4/letter/r/47e85d/32.png) [@ryannewelluk](https://forum.babylonjs.com/u/ryannewelluk)
#### Post date: [October 22, 2019, 8:34am UTC](https://forum.babylonjs.com/t/unwanted-transparency-in-duplicated-object-side/6488/4 "2019-10-22T08:34:32Z")

</div>

Thanks for the help @JCPalmer, the main problem was normals on the model, flipped round fixed the problem 🙂

---

<div class="post-metadata">

### Author: ![ryannewelluk](https://avatars.discourse-cdn.com/v4/letter/r/47e85d/32.png) [@ryannewelluk](https://forum.babylonjs.com/u/ryannewelluk)
#### Post date: [October 22, 2019, 10:17am UTC](https://forum.babylonjs.com/t/unwanted-transparency-in-duplicated-object-side/6488/5 "2019-10-22T10:17:09Z")

</div>

I’ve got something weird going on now. In my extended model I have a hover state which is supposed to be just a green outline. But since adding mat.needDepthPrePass = true the model turns black on hover as well as the green outline.
