# Blender 2.8 Transparent GLTF/GLB

**URL:** <https://blenderartists.org/t/blender-2-8-transparent-gltf-glb/1141699>\
**Category:** Materials and Textures\
**Tags:** blender2-80\
**Created:** [January 8, 2019, 5:00pm UTC](https://blenderartists.org/t/blender-2-8-transparent-gltf-glb/1141699 "2019-01-08T17:00:30Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![Nitram\_2000](https://blenderartists.org/user_avatar/blenderartists.org/nitram_2000/32/791373_2.png) [@Nitram\_2000](https://blenderartists.org/u/Nitram_2000)\
**Post date:** [May 31, 2022, 1:19pm UTC](https://blenderartists.org/t/blender-2-8-transparent-gltf-glb/1141699/21 "2022-05-31T13:19:52Z")

</div>

I’m also having issues with this and I’m hoping that @donmccurdy can help out quickly.

It’s to do with backface culling.

Here is my basic shader setup.

 ![BFC_Setup](https://blenderartists.org/uploads/default/original/4X/4/c/f/4cfb9687638dc39748fe0071cbfc01cd956827a2.jpeg)

Backface culling works fine here. When I export the glTF I get this which looks fine.

 ![BFC_Issues_02](https://blenderartists.org/uploads/default/original/4X/1/8/8/188253a003b7439b258bcf4ec37a93edac82e911.jpeg)

But, if you look at the object in the distance, it doesn’t appear through the front object, while others do.

 ![BFC_Issues_03](https://blenderartists.org/uploads/default/original/4X/8/c/7/8c7de51250871a7843d47cdf6bb7817706a1690a.jpeg)

If I turn off Backface culling in the material settings and export it, I get these errors.

 ![BFC_Issues_01](https://blenderartists.org/uploads/default/original/4X/1/2/e/12e28b1baedfff48e3f413370fc5f834519a1865.jpeg)

Any idea what my best options are here?

---

<div class="post-metadata">

**Author:** ![donmccurdy](https://blenderartists.org/user_avatar/blenderartists.org/donmccurdy/32/527572_2.png) [@donmccurdy](https://blenderartists.org/u/donmccurdy)\
**Post date:** [May 31, 2022, 10:42pm UTC](https://blenderartists.org/t/blender-2-8-transparent-gltf-glb/1141699/22 "2022-05-31T22:42:21Z")

</div>

Are you able to share a file? And, do the same issues appear in viewers other than Gestaltor, like [https://gltf.report/](https://gltf.report/) or [https://sandbox.babylonjs.com/](https://sandbox.babylonjs.com/) ?

---

<div class="post-metadata">

**Author:** ![Nitram\_2000](https://blenderartists.org/user_avatar/blenderartists.org/nitram_2000/32/791373_2.png) [@Nitram\_2000](https://blenderartists.org/u/Nitram_2000)\
**Post date:** [June 1, 2022, 8:38am UTC](https://blenderartists.org/t/blender-2-8-transparent-gltf-glb/1141699/23 "2022-06-01T08:38:11Z")

</div>

I can delete some non-essentials from the file and upload it later.

I checked it in several viewers with the Backface culling option turned on (so the clipping issue with the red circle in the images above).

In Gestaltor and the [https://github.khronos.org/glTF-Sample-Viewer-Release/](https://github.khronos.org/glTF-Sample-Viewer-Release/) viewer the transparency/clipping issue happens. In the two you linked, plus your own viewer, it works perfectly.

I’ll re-export with the backface culling turned off and see if the “geo” error appears in the other viewers.

I’ll try and get you a file later today.

---

<div class="post-metadata">

**Author:** ![donmccurdy](https://blenderartists.org/user_avatar/blenderartists.org/donmccurdy/32/527572_2.png) [@donmccurdy](https://blenderartists.org/u/donmccurdy)\
**Post date:** [June 4, 2022, 9:42pm UTC](https://blenderartists.org/t/blender-2-8-transparent-gltf-glb/1141699/24 "2022-06-04T21:42:46Z")

</div>

> [@Nitram\_2000](#):
>
> But, if you look at the object in the distance, it doesn’t appear through the front object, while others do.

This part is a fairly common limitation in current real-time implementations of the PBR _Transmission_ property — opaque objects are visible through the transmissive material but other transmissive materials, and perhaps materials with alpha blended transparency, may not be visible. I think I see the same behavior from Blender’s Eevee renderer as well. Materials using alpha blending transparency instead of transmission will not have this limitation.

> In Gestaltor and the [https://github.khronos.org/glTF-Sample-Viewer-Release/](https://github.khronos.org/glTF-Sample-Viewer-Release/) viewer the transparency/clipping issue happens. In the two you linked, plus your own viewer, it works perfectly.

This may just be a bug or limitation in the Gestaltor viewer then – if I had to guess, they may need to disable depth writes for transparent materials.

One workaround might by to try exporting with Transmission, but with “Blend Mode: Opaque” instead of using alpha blending. Usually it isn’t necessary to use both, and alpha blending may be causing the issues shown.

---

<div class="post-metadata">

**Author:** ![Nitram\_2000](https://blenderartists.org/user_avatar/blenderartists.org/nitram_2000/32/791373_2.png) [@Nitram\_2000](https://blenderartists.org/u/Nitram_2000)\
**Post date:** [June 21, 2022, 12:06pm UTC](https://blenderartists.org/t/blender-2-8-transparent-gltf-glb/1141699/25 "2022-06-21T12:06:34Z")

</div>

Thanks for the detailed reply.

After following your advice to no avail, I set up a new test scene with 2 cubes, one with transmission turned on and Alpha Opaque, the other with just a random material. Worked perfectly first time.

For my scene, I just created a new material for the problem area using these settings and it worked straight off the bat. I’ve no idea where the difference in the materials lay. There was something in the Face Maps tab of the object data, which I’ve no idea what it was. I removed that also. Either thing may have been influencing how the object displayed after export.

Long story short, thanks for the help. Got me out of a jam.

[Previous page](https://blenderartists.org/t/blender-2-8-transparent-gltf-glb/1141699.md?page=1)
