[SOLVED] Load .basis file as texture with engine

I used basisu command line tool to compresse texture,and I got textures with .basis.
but I don’t know how to use it or load it with engine,could you help me,please

Hi @fengyu,

So normally the basis files will automatically be generated and placed in the right folders internally when using the Texture Compression panel in editor.

You could study the engine source code on how to generate a texture asset manually and provide the basis variant file manually, so it can be loaded.

Check the following thread, it contains useful info on how to approach that:

1 Like

Thank you :thinking:

There’s also an example engine only project here: http://playcanvas.github.io/#graphics/texture-basis.html