Skip to content

Support for glTF+KTX2/Basis textures ("KHR_texture_basisu") #4919

@donmccurdy

Description

@donmccurdy

The KTX2 (".ktx2") texture format uses Basis Universal compression to provide several benefits:

  1. Much lower in-memory size for textures.
  2. Much faster GPU upload for textures.
  3. (Sometimes) Lower file/transmission size for textures.

In combination these make it possible to use more texture detail at lower performance cost in a scene, and these textures can also be embedded in glTF files.

Adding support in A-Frame would be straightforward (similar to #4910) except for one issue —  KTX2Loader.js is in examples/jsm and there's no examples/js equivalent. Does A-Frame's three.js fork have an existing way of pulling in examples/jsm files? Or should we ask to have the examples/js version created on the three.js repository?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions