# Khronos Texture Tools: TOKTX Command Line

**URL:** <https://forum.babylonjs.com/t/khronos-texture-tools-toktx-command-line/23926>\
**Category:** Questions\
**Created:** [September 17, 2021, 9:58pm UTC](https://forum.babylonjs.com/t/khronos-texture-tools-toktx-command-line/23926 "2021-09-17T21:58:38Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [September 17, 2021, 10:25pm UTC](https://forum.babylonjs.com/t/khronos-texture-tools-toktx-command-line/23926/3 "2021-09-17T22:25:50Z")

</div>

Yes, you should generate the mipmaps. See also the other thread ([Unity Toolkit Basis compression - #5 by Evgeni\_Popov](https://forum.babylonjs.com/t/unity-toolkit-basis-compression/23908/5)).

Generating the mipmaps should work, I did use `toktx.exe` to generate etc1s/uastc encoded ktx2 files and it did work. Can you a provide a file for which generating mipmaps does not work?

---

_[View the full topic](https://forum.babylonjs.com/t/khronos-texture-tools-toktx-command-line/23926)._
