-
Notifications
You must be signed in to change notification settings - Fork 111
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
Missing head in a specific VRM model in specific Android devices #1369
Comments
Hi, thank you for the report. For your model it has 415 morphs and 276 bones so there are troubles to display the model on particular devices. To verify the issue:
On some Android devices the limit might be 256, which is not enough to handle this model. On code wise, inside three.js's ShaderChunk If WebGL1 is ok to you, you can try pass morphs data from CPU. https://github.com/mrdoob/three.js/blob/r160/src/renderers/webgl/WebGLProgram.js#L619 To mitigate the issue
|
Thank you for the insights! My device that does not have issue has 1024 max vertex uniform vectors while the other two that have issues have 256 max vertex uniform vectors. May I know how to count "vertex uniform vectors" for a VRM model in any 3d tool such as blender to make sure the count is below 256? Is it equivalent to morphs + bone counts? |
How many AFAIK models have this issue mostly due to their morphs counts so it's good to look into morphs first. |
I encounter a strange issue with a VRM model. The VRM model that loads fine in desktop browsers. However, in some specific mobile devices (Android), the head of the VRM model went missing. I faced the issue in my ReactJS application. This issue does not happen on other VRM models.
Attached with a sample VRM model that has this issue: https://we.tl/t-XxxsvIAK1c
I tried reducing texture size, deleting everything except the head, but the head still doesn't load.
Any ideas what's the problem here?
The text was updated successfully, but these errors were encountered: