Skip to content

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

Merged
raysan5 merged 1 commit into
raysan5:masterfrom
meadiode:dev_fix_mesh_instances_normals
Dec 8, 2024
Merged

[rlgl][rmodels] Add instranceTransform shader location index #4538#4579
raysan5 merged 1 commit into
raysan5:masterfrom
meadiode:dev_fix_mesh_instances_normals

Conversation

@meadiode
Copy link
Copy Markdown
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
Comment thread src/raylib.h
@raysan5 raysan5 merged commit d2cd2a0 into raysan5:master Dec 8, 2024
@raysan5
Copy link
Copy Markdown
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