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

[rlgl][rmodels] Add instranceTransform shader location index #4538 #4579

Merged
merged 1 commit into from
Dec 8, 2024

Conversation

meadiode
Copy link
Contributor

@meadiode meadiode commented Dec 5, 2024

Add a dedicated instanceTransform shader location index to avoid unwanted re-assigning of vertex attribute buffers when drawing a mesh sequentially with DrawMeshInstanced using multiple different shaders
#4538

@meadiode meadiode force-pushed the dev_fix_mesh_instances_normals branch from 2115388 to d6e24fc Compare December 5, 2024 21:06
src/raylib.h Show resolved Hide resolved
@raysan5 raysan5 merged commit d2cd2a0 into raysan5:master Dec 8, 2024
@raysan5
Copy link
Owner

raysan5 commented Dec 8, 2024

@meadiode thanks for the improvement and @asdqwe thank you very much 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