Skip to content

Notes for ETC2/EAC sample #60

Description

@shrekshao
  • 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions