Skip to content

[rmodels] support CPU animation in OpenGL 1.1 #4925

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

Merged
merged 3 commits into from
May 5, 2025

Conversation

JeffM2501
Copy link
Contributor

Currently when drawing meshes with GL 1.1 only the static vertex and normal buffers are used, this means that CPU animation can't work with GL 1.1.
This PR uses the animated vertex and normal buffers if they exist just like GL 2.2+ does, supporting animated models in GL1.1.
It's not going to be fast since it's all done CPU side, but that should be up to the user, not raylib.

@raysan5 raysan5 merged commit 512b1be into raysan5:master May 5, 2025
14 checks passed
@raysan5
Copy link
Owner

raysan5 commented May 5, 2025

@JeffM2501 Nice improvement! Thanks!

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