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 vertex buffer locking on html5 for deinterleaved buffers and batched meshes #146

Merged
merged 2 commits into from
Nov 26, 2021

Conversation

MoritzBrueckner
Copy link
Contributor

There were still some usages of vb.lockInt16() that wouldn't compile for html5. Now the material_batch and physics_softbody examples compile again for html5, even though the latter still has runtime errors caused by something ammo.js related.

Unfortunately deinterleaved buffers are still broken on D3D11 for meshes with more than one vertex buffer due to Kode/Kinc#338, the values seem to get placed into only one big buffer that is then interpreted as being interleaved.

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.

None yet

2 participants