Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Correct multi-material parsing #392

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

Merged

Conversation

SeanCurtis-TRI
Copy link
Contributor

@SeanCurtis-TRI SeanCurtis-TRI commented Jan 27, 2025

Each material gets its state of having specified a diffuse color (kd) reset so that one material doesn't infect another.

Resolves #391.

Each material gets is state of having specified a diffuse color (kd) reset
so that one material doesn't infect another.
@syoyo syoyo added the bug label Jan 28, 2025
@syoyo
Copy link
Collaborator

syoyo commented Jan 28, 2025

Thanks! I've confirmed the issue and PR looks good. Will be merged soon after the review.

@syoyo syoyo merged commit 3bb554c into tinyobjloader:release Jan 29, 2025
10 checks passed
@syoyo
Copy link
Collaborator

syoyo commented Jan 29, 2025

Confirmed the proposed PR fixes the issue, so merged! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MTL with multiple materials may use incorrect Kd value
2 participants