# Black transmissionTexture impacts render unexpectedly

**URL:** <https://forum.babylonjs.com/t/black-transmissiontexture-impacts-render-unexpectedly/23516>\
**Category:** Bugs\
**Tags:** material\
**Created:** [September 2, 2021, 4:37pm UTC](https://forum.babylonjs.com/t/black-transmissiontexture-impacts-render-unexpectedly/23516 "2021-09-02T16:37:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thomasdideriksen](https://avatars.discourse-cdn.com/v4/letter/t/f6c823/32.png) [@thomasdideriksen](https://forum.babylonjs.com/u/thomasdideriksen)\
**Post date:** [September 2, 2021, 4:37pm UTC](https://forum.babylonjs.com/t/black-transmissiontexture-impacts-render-unexpectedly/23516/1 "2021-09-02T16:37:45Z")

</div>

Hi Babylon experts,

I’m running into unexpected rendering artifact with glTF files using the _KHR\_materials\_transmission_ extension. Specifically, when the _transmissionTexture_ is all black, it still appears to impacts the rendered output color. I would not expect an all-black _transmissionTexture_ to have any impact on the rendered result.

Here’s what I see in the sandbox (v5.0.0-alpha.40) - this is a model with two boxes, each with a different material. The only difference between the two materials is that one of them have an all-black _transmissionTexture_ associated. As you can see, the two boxes appears quite different.

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/4/0/40fcdd2c1f7e6b1e5d059095ae894b04ff4c5c43.png)

For comparison, here’s the same model rendered in the [Khronos glTF sample viewer](https://github.khronos.org/glTF-Sample-Viewer-Release/):

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/f/a/faa8fe85105e2d7c8624a58d9c1fbd4b7acd8b97.png)

Attached the sample glTF file here:  
[sample.zip](https://forum.babylonjs.com/uploads/short-url/7KA9IRWw7xD5nRwjwYceuqbP6yN.zip) (3.1 KB)

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [September 2, 2021, 8:19pm UTC](https://forum.babylonjs.com/t/black-transmissiontexture-impacts-render-unexpectedly/23516/2 "2021-09-02T20:19:59Z")

</div>

Good catch I ll fix it ASAP 🙂

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [September 2, 2021, 9:23pm UTC](https://forum.babylonjs.com/t/black-transmissiontexture-impacts-render-unexpectedly/23516/3 "2021-09-02T21:23:11Z")

</div>

Fix will be up in about 1hour, thanks @Evgeni_Popov for the assist 🙂
