Mugen87 / three-m2loader

three.js loader for importing M2 assets from World of Warcraft.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Looking for M2 asset with uncompressed texture data.

Mugen87 opened this issue · comments

Most M2 asset rely on S3TC texture compression which the loader already supports. However, certain assets use uncompressed textures. It would be good to know the filename of such an asset for testing (https://wow.tools/) so the below code path can be implemented and verified:

three-m2loader/M2Loader.js

Lines 1735 to 1739 in e71c776

} else {
// TODO Handle uncompressed textures
}

f3f1000 added supported for color palette textures but only for BLP_PIXEL_FORMAT_PIXEL_UNSPECIFIED. More textures for testing are required.