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

MorphPrimitivesTest.gltf morphs positions but not normals, lighting on morphed mesh looks incorrect #134

Open
droettger opened this issue Jun 25, 2024 · 0 comments

Comments

@droettger
Copy link

The model MorphPrimitivesTest.gltf provides position, normal, and texcoord0 attributes but only morphs positions.
As consequence the morphed mesh uses normals of the flat mesh with all normals pointing to (0,1,0) and the lighting looks incorrect.
This would not happen if the model wouldn't provide normal attributes (resulting in face normals calculated on the morphed positions) or proper morph targets for the normal attribute.

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

No branches or pull requests

1 participant