Skip to content

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!

syoyo pushed a commit that referenced this pull request Nov 10, 2025
Each material gets is state of having specified a diffuse color (kd) reset
so that one material doesn't infect another.
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