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

fix: glTF: material color won't be loaded if there's no texture for that material #2298

Merged
merged 1 commit into from
Jan 21, 2022

Conversation

royqh1979
Copy link
Contributor

When loading a gltf file, if there's no texture setting for a material, it's material won't be loaded(become WHITE by default).

This pr fixes that.

@raysan5 raysan5 merged commit 45ef46c into raysan5:master Jan 21, 2022
@raysan5
Copy link
Owner

raysan5 commented Jan 21, 2022

@royqh1979 Thanks for the review!

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