Skip to content

glTF texture loading#134

Merged
sgmq0 merged 36 commits into
mainfrom
ray/texture-loading
Dec 7, 2025
Merged

glTF texture loading#134
sgmq0 merged 36 commits into
mainfrom
ray/texture-loading

Conversation

@sgmq0
Copy link
Copy Markdown
Collaborator

@sgmq0 sgmq0 commented Dec 7, 2025

Description

Texture loading!! Woo!!!!

Screenshot 2025-12-06 231637 Screenshot 2025-12-06 231030

Instancer now supports glTF loading with multiple textures as well as transparent textures.

However, this comes with some caveats:

  • Due to the limitations of WebGPU, all textures must be the same size. Otherwise, issues will be encountered.
  • The glTF loader assumes that the id of each material is also its index in the material array.

@sgmq0 sgmq0 self-assigned this Dec 7, 2025
@sgmq0 sgmq0 linked an issue Dec 7, 2025 that may be closed by this pull request
@sgmq0 sgmq0 requested review from printer83mph and thumun December 7, 2025 17:03
@sgmq0 sgmq0 added the enhancement New feature or request label Dec 7, 2025
@sgmq0 sgmq0 merged commit 0035330 into main Dec 7, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

texture loading for gltfs

1 participant