-
Notifications
You must be signed in to change notification settings - Fork 133
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
Morph targets are broken #923
Comments
Work around: put this somewhere before loading a model.
|
Once fixed, we should add validation tests so that this doesn't break again. |
SergioRZMasson
added a commit
that referenced
this issue
Jan 26, 2022
…ph targets. (#981) * Added support for Morph targets to use 2D texture arrays. Added check for uniforms array length to avoid memory overrun * Code cleanup, moved array lenght check to after the null check * Update Plugins/NativeEngine/Source/NativeEngine.h Co-authored-by: Gary Hsu <[email protected]> * Update Plugins/NativeEngine/Source/NativeEngine.cpp Co-authored-by: Gary Hsu <[email protected]> * Moved element size info to Babylon::UniformInfo. Changed business logic to allow usage of UniformInfo for size check at runtime * Revert "Moved element size info to Babylon::UniformInfo. Changed business logic to allow usage of UniformInfo for size check at runtime" This reverts commit 117c2e6. * Reimplemented changes after reversing clang-format changes * Cleanup unused parameters and added exception for not supported ones * Update Plugins/NativeEngine/Source/NativeEngine.cpp Co-authored-by: Gary Hsu <[email protected]> Co-authored-by: Gary Hsu <[email protected]>
@SergioRZMasson I think we missed doing this. It would be good to do so that we can't break it again. |
Turns out, morph targets are still not working properly. |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce the behavior:
Result: Error in JS:
Unable to get property 'TEXTURE_2D_ARRAY' of undefined or null reference
Expected behavior
Model to load without error
The text was updated successfully, but these errors were encountered: