# Unexpected .basis texture behaviour in playground and sandbox

**URL:** <https://forum.babylonjs.com/t/unexpected-basis-texture-behaviour-in-playground-and-sandbox/15810>\
**Category:** Questions\
**Tags:** material\
**Created:** [November 18, 2020, 12:38pm UTC](https://forum.babylonjs.com/t/unexpected-basis-texture-behaviour-in-playground-and-sandbox/15810 "2020-11-18T12:38:58Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mamu](https://avatars.discourse-cdn.com/v4/letter/m/9e8a1a/32.png) [@mamu](https://forum.babylonjs.com/u/mamu)\
**Post date:** [November 18, 2020, 12:38pm UTC](https://forum.babylonjs.com/t/unexpected-basis-texture-behaviour-in-playground-and-sandbox/15810/1 "2020-11-18T12:38:58Z")

</div>

I am reporting two unexpected behaviours when trying to use .basis textures.

1. I am trying to inspect the texture in this [tutorial](https://playground.babylonjs.com/#4RN0VF).  
When i click on the texture the texture disappears. What is happening here?  

2. I am trying to upload a .basis texture but the texture won’t render. The “default” texture appears.  

I’d really love to talk to someone who is using .basis textures 🙂 Cheers!

---

<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:** [November 18, 2020, 4:19pm UTC](https://forum.babylonjs.com/t/unexpected-basis-texture-behaviour-in-playground-and-sandbox/15810/2 "2020-11-18T16:19:06Z")

</div>

@Evgeni_Popov, would you have a bit of time to check ?

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [November 18, 2020, 11:44pm UTC](https://forum.babylonjs.com/t/unexpected-basis-texture-behaviour-in-playground-and-sandbox/15810/3 "2020-11-18T23:44:51Z")

</div>

You should create a bug report in the repo for #1 as it is definitely a bug, the texture editor does not handle compressed textures correctly. I don’t know if it will be able to display the texture in the 2D view but it should at least not make it disappear of the mesh.

For #2, it seems to me that it is the same PG than in #1, so it should work? Maybe you should provide a repro for this one.

Note that .basis is somewhat deprecated, you should use .ktx2 files instead: [KTX2 Compressed Textures | Babylon.js Documentation](https://doc.babylonjs.com/divingDeeper/materials/using/ktx2Compression)

---

<div class="post-metadata">

**Author:** ![mamu](https://avatars.discourse-cdn.com/v4/letter/m/9e8a1a/32.png) [@mamu](https://forum.babylonjs.com/u/mamu)\
**Post date:** [November 19, 2020, 2:25pm UTC](https://forum.babylonjs.com/t/unexpected-basis-texture-behaviour-in-playground-and-sandbox/15810/4 "2020-11-19T14:25:08Z")

</div>

Where should i create the bug report? At this repository [https://github.com/BabylonJS/Babylon.js](https://github.com/BabylonJS/Babylon.js) ?

For #2 it wouldn’t make sense to create a repro since you must upload a .basis file from your computer. The behaviour seems to be the same for every playground. Upload a .basis file and the you get displayed the default texture.

Thanks for your note, we are switching to the .ktx2 file format!

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [November 19, 2020, 2:55pm UTC](https://forum.babylonjs.com/t/unexpected-basis-texture-behaviour-in-playground-and-sandbox/15810/5 "2020-11-19T14:55:27Z")

</div>

> [@mamu](#):
>
> Where should i create the bug report? At this repository [GitHub - BabylonJS/Babylon.js: Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework.](https://github.com/BabylonJS/Babylon.js) ?

Yes this one.

> [@mamu](#):
>
> Upload a .basis file and the you get displayed the default texture.

What is the difference between #1 and #2 in the source code?

---

<div class="post-metadata">

**Author:** ![mamu](https://avatars.discourse-cdn.com/v4/letter/m/9e8a1a/32.png) [@mamu](https://forum.babylonjs.com/u/mamu)\
**Post date:** [November 19, 2020, 3:29pm UTC](https://forum.babylonjs.com/t/unexpected-basis-texture-behaviour-in-playground-and-sandbox/15810/6 "2020-11-19T15:29:00Z")

</div>

There is no difference in the source code. I was just working on the right side. I was clicking on the material named “dog” and uploaded a .basis file as diffuse texture from my computer. After that the default texture was visible on the object.

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [November 19, 2020, 3:30pm UTC](https://forum.babylonjs.com/t/unexpected-basis-texture-behaviour-in-playground-and-sandbox/15810/7 "2020-11-19T15:30:39Z")

</div>

Ok, so that’s probably the same problem with the texture manager, it does not handle compressed textures in upload the mode.

---

<div class="post-metadata">

**Author:** ![mamu](https://avatars.discourse-cdn.com/v4/letter/m/9e8a1a/32.png) [@mamu](https://forum.babylonjs.com/u/mamu)\
**Post date:** [November 19, 2020, 3:33pm UTC](https://forum.babylonjs.com/t/unexpected-basis-texture-behaviour-in-playground-and-sandbox/15810/8 "2020-11-19T15:33:53Z")

</div>

Thanks for you expertise!
