pixijs / pixi-compressed-textures

Compressed textures and retina support for pixijs. Loader can choose textures depends on platform and rendering mode.
MIT License
93 stars 25 forks source link

KTX support? #23

Open delaneyj opened 5 years ago

delaneyj commented 5 years ago

Using Babylon.js where I can use KTX. Is there any thought about including this in Pixi.js?

ivanpopelyshev commented 5 years ago

I don't know whats KTX is, but its not that difficult to add any new format supported by WebGL here, if you are familiar with functions like texImage2D.

eXponenta commented 5 years ago

@delaneyj
I made API for custom loader, you can implement KTX loading inside of plugin and add to it . Look to basis importer: https://www.pixiplayground.com/#/edit/uBgp2yLuc88YhCxU_pcQw

ivanpopelyshev commented 5 years ago

maked = made + baked? :)