Skip to content

Import EXT_texture_webp - #523

Merged
bdero merged 1 commit into
bdero:masterfrom
mohamedalsamrai:add-ext-texture-webp
Oct 30, 2026
Merged

bdero merged 1 commit into
bdero:masterfrom
mohamedalsamrai:add-ext-texture-webp

Conversation

@mohamedalsamrai

Copy link
Copy Markdown
Contributor

A texture's EXT_texture_webp image now wins over its PNG or JPEG fallback in both importers, after a KHR_texture_basisu one, and a WebP-only model, which lists the extension as required, loads instead of throwing. Both image paths already decode WebP: the platform codec at runtime, package:image offline.

The WebP variant of Khronos' ChronographWatch joins the example's stress tests; every one of its textures is WebP with no fallback.

Before / After

Chronograph Watch (WebP) from the example's Stress Tests (added here), macOS, Flutter 3.47.8.

Before
Screenshot 2026-10-29 at 2 34 46 AM

After
Screenshot 2026-10-29 at 2 38 47 AM

Notes

  • The sample is a multi-file glTF, so it loads through the runtime importer; webp_texture_import_test.dart covers the offline one.

A texture's EXT_texture_webp image now wins over its PNG or JPEG fallback in
both importers, after a KHR_texture_basisu one, and a WebP-only model, which
lists the extension as required, loads instead of throwing. Both image paths
already decode WebP: the platform codec at runtime, package:image offline.

The WebP variant of Khronos' ChronographWatch joins the example's stress
tests; every one of its textures is WebP with no fallback.
@argos-ci

argos-ci Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
ios (Inspect) ✅ No changes detected - Oct 30, 2026, 3:53 AM
macos (Inspect) ✅ No changes detected - Oct 30, 2026, 3:53 AM

@bdero
bdero merged commit b5aecfd into bdero:master Oct 30, 2026
27 of 29 checks passed
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.

2 participants