Skip to content

fix DrawMesh using SHADER_LOC_COLOR_SPECULAR as a material map (#2908) - #2909

Merged
raysan5 merged 1 commit into
raysan5:masterfrom
haved:2908-specular-loc-vs-map
Feb 5, 2023
Merged

raysan5 merged 1 commit into
raysan5:masterfrom
haved:2908-specular-loc-vs-map

Conversation

@haved

@haved haved commented Feb 4, 2023

Copy link
Copy Markdown
Contributor

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

raysan5 commented Feb 5, 2023

Copy link
Copy Markdown
Owner

@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