Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ACLoader: add support for reading more than one texture per object #4935

Merged
merged 2 commits into from Feb 4, 2023

Conversation

IOBYTE
Copy link
Contributor

@IOBYTE IOBYTE commented Feb 4, 2023

The .ac format supports 0 or 1 textures per object. The .acc extended format supports 0 to 4 textures per object. Currently the last texture is the one selected when multiple textures are read. This loader doesn't support multiple textures so the last layer above the base texture is used. This PR selects the first (base) texture to use.

@kimkulling kimkulling merged commit 487c03f into assimp:master Feb 4, 2023
@kimkulling
Copy link
Member

Merged, thanks a lot for your contribution.

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.

None yet

2 participants