-
Notifications
You must be signed in to change notification settings - Fork 143
Closed
Labels
Description
- etc2/eac compressed image can be in different file extension (ktx, pkm), each has a different "header data". For example, ktx file format has a header data of 68 bytes details.
- To properly handle this, we may need a so-called "texture utils". Extract the data correctly from images in different format, which can be another project.
- In this sample, I hard-coded an offset of 68 to drag the image data from the arraybuffer. Improvement can be made later.