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

Skin weights for M2 bones are likely supposed to be floats #144

Open
fallenoak opened this issue Jun 2, 2016 · 0 comments
Open

Skin weights for M2 bones are likely supposed to be floats #144

fallenoak opened this issue Jun 2, 2016 · 0 comments
Labels

Comments

@fallenoak
Copy link
Member

fallenoak commented Jun 2, 2016

I believe Blizzardry is parsing skin weights (aka bone weights) as uint8s, but three.js expects weights to be floating point values ranging from 0.0 to 1.0. Similar to RGBA values, all we probably need to do is divide the existing values by 255.

@fallenoak fallenoak added the bug label Jun 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant