Skip to content

Conversation

@donmccurdy
Copy link
Collaborator

@donmccurdy donmccurdy commented Aug 10, 2025

@Mugen87
Copy link
Collaborator

Mugen87 commented Aug 10, 2025

It seems KTX2Exporter now fails with this error message:

Uncaught SyntaxError: The requested module '../libs/ktx-parse.module.js' does not provide an export named 'KTX2Container' (at KTX2Exporter.js:21:2)

For testing: https://rawcdn.githack.com/donmccurdy/three.js/feat/ktx2loader-levelcount-0/examples/misc_exporter_ktx2.html

@donmccurdy
Copy link
Collaborator Author

donmccurdy commented Aug 10, 2025

Ah thanks! Upgraded to ktx-parse v1.1 but forgot we weren't using v1 yet, which had a breaking change, should be fixed now. There is no KTX2Container class anymore, the library just uses a plain object for the data.

@donmccurdy donmccurdy merged commit c06699e into mrdoob:dev Aug 10, 2025
8 checks passed
@donmccurdy donmccurdy deleted the feat/ktx2loader-levelcount-0 branch August 10, 2025 23:58
@Mugen87 Mugen87 added this to the r180 milestone Aug 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

KTX2 file without mipmaps does not load

2 participants