AssetsTools.NET icon indicating copy to clipboard operation
AssetsTools.NET copied to clipboard

feat: support ASTC texture decode

Open liuxinyumocn opened this issue 3 years ago • 4 comments

Support ASTC texture decode, and there is a default solution for decoding failure.

liuxinyumocn avatar Oct 10 '22 09:10 liuxinyumocn

I can accept it for now, but I plan to use AssetRipper's TextureDecoder library (the mafaca decoders like the one you used but all of them in one place) in the future and make it a nuget package.

nesrak1 avatar Oct 11 '22 00:10 nesrak1

AssetRipper's TextureDecoder library and mafaca decoders are both good, but they do not support decoding HDR. The best way is to use the dynamic link library, which is written through c++.

liuxinyumocn avatar Oct 11 '22 03:10 liuxinyumocn

Having multiple options for managed/unmanaged decoding is the plan, where you can use a fast and more featureful native but less xplat library or a slower more xplat version. Nothing has been written for it though, just planned.

nesrak1 avatar Oct 11 '22 03:10 nesrak1

Thank you very much.

liuxinyumocn avatar Oct 11 '22 03:10 liuxinyumocn

AssetRipper TextureDecoder is in the Texture project now.

nesrak1 avatar Feb 24 '23 02:02 nesrak1