# Can't encode NPOT basis texture in the editor

**URL:** <https://forum.playcanvas.com/t/cant-encode-npot-basis-texture-in-the-editor/23892>\
**Category:** Help & Support\
**Created:** [January 20, 2022, 8:33pm UTC](https://forum.playcanvas.com/t/cant-encode-npot-basis-texture-in-the-editor/23892 "2022-01-20T20:33:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mabu](https://forum.playcanvas.com/letter_avatar_proxy/v4/letter/m/6bbea6/32.png) [@mabu](https://forum.playcanvas.com/u/mabu)\
**Post date:** [January 20, 2022, 8:33pm UTC](https://forum.playcanvas.com/t/cant-encode-npot-basis-texture-in-the-editor/23892/1 "2022-01-20T20:33:37Z")

</div>

When loading an NPOT texture, a warning that PVR textures don’t support NPOT so the basis texture will be decoded to uncompressed on platforms that only support PVR. That’s fine for me - however, the  
‘COMPRESS BASIS’ button is grayed out. How can I compress an NPOT texture with basis?

---

<div class="post-metadata">

**Author:** ![Leonidas](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/leonidas/32/6495_2.png) [@Leonidas](https://forum.playcanvas.com/u/Leonidas)\
**Post date:** [January 20, 2022, 9:12pm UTC](https://forum.playcanvas.com/t/cant-encode-npot-basis-texture-in-the-editor/23892/2 "2022-01-20T21:12:56Z")

</div>

Hi @mabu,

I think the warning is outdated. Even though Basis can support non POT textures there are edge cases on what format/dimensions it should fallback on older platforms, that’s why I think it’s disabled in the editor.

> <https://github.com/playcanvas/editor/issues/370>
>
> !\[image\](https://user-images.githubusercontent.com/16639049/114536559-1bed1500-9…c49-11eb-9571-45e9285c4495.png)
> 
> The message implies that non POT textures will work but it actually falls back to a different format RGB565 (?).
> 
> We also need to add extra detail for the non tech savvy users. Eg This will affect WebGL 1 only devices such as iOS platforms.

> <https://github.com/playcanvas/editor/issues/335#issuecomment-857613341>
>
> There is a project, where a mesh is using a non-POT non-square texture. Here is… the sample project:
> https://playcanvas.com/editor/scene/1119862
> 
> After importing Basis library, I tried to compress it. After pressing Compress button, the texture icon doesn't turn to progress, but the compress button becomes not active. After that if the texture is deselected and selected again, the compress button is active again. There is also a warning message in the console:
> 
> !\[image\](https://user-images.githubusercontent.com/5677782/112669838-d66ad280-8e68-11eb-8fda-b1ed5db2138f.png)
> 
> I also tried to turn on the legacy EC2 compression on, but get the similar behavior with the button being inactive/active. It would be nice if the asset would have a property that would clearly state if the texture is currently compressed or not.
