# Does Babylon's CubeTexture support custom mipmaps?

**URL:** <https://forum.babylonjs.com/t/does-babylons-cubetexture-support-custom-mipmaps/46593>\
**Category:** Questions\
**Tags:** documentation, lighting, texture\
**Created:** [December 20, 2023, 8:51am UTC](https://forum.babylonjs.com/t/does-babylons-cubetexture-support-custom-mipmaps/46593 "2023-12-20T08:51:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Intelligence](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/intelligence/32/36789_2.png) [@Intelligence](https://forum.babylonjs.com/u/Intelligence)\
**Post date:** [December 20, 2023, 8:51am UTC](https://forum.babylonjs.com/t/does-babylons-cubetexture-support-custom-mipmaps/46593/1 "2023-12-20T08:51:43Z")

</div>

How can I create a CubeTexture with custom provided mipmaps?

---

<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:** [December 20, 2023, 10:33am UTC](https://forum.babylonjs.com/t/does-babylons-cubetexture-support-custom-mipmaps/46593/2 "2023-12-20T10:33:15Z")

</div>

See this thread for some help:

> [@Mipmaps and quality](https://forum.babylonjs.com/t/mipmaps-and-quality/43722):
>
> [I’m new to mipmapping and there seems to be almost no documentation on how Babylon generates mipmaps, how many and what the costs are. But I gathered from the source code that it just uses an underlying webgl call to do it.] The generated mipmaps are pretty blurry compared to resizing with an image editor, I will probably create a playground tomorrow to show this. My questions (I tried to answer the first 2 myself): is there a way to use a different scaling algorithm for the mipmap generati…
