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 DrawMesh using SHADER_LOC_COLOR_SPECULAR as a material map (#2908) #2909

Merged
merged 1 commit into from
Feb 5, 2023

Conversation

haved
Copy link
Contributor

@haved haved commented Feb 4, 2023

Fixes #2908 by using MATERIAL_MAP_SPECULAR as the map index, instead of using the incorrect map index SHADER_LOC_COLOR_SPECULAR.

@raysan5 raysan5 merged commit 8c50da1 into raysan5:master Feb 5, 2023
@raysan5
Copy link
Owner

raysan5 commented Feb 5, 2023

@haved 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.

[rmodels] DrawMesh uses SHADER_LOC_COLOR_SPECULAR as a material map index
2 participants