Skip to content

Conversation

@elalish
Copy link
Contributor

@elalish elalish commented Oct 22, 2019

In looking into #11438, I found part of the problem I was seeing was due to supplied tangents not being used at all, which was because vertexTangents wasn't being cloned. In addition to fixing that, I changed the order of the cloned parameters to match the constructor to hopefully make it easier to find ones that are missing in the future.

@WestLangley
Copy link
Collaborator

I found part of the problem I was seeing was due to supplied tangents not being used at all, which was because vertexTangents wasn't being cloned.

Oh good grief! Nice find!

@mrdoob
Copy link
Owner

mrdoob commented Oct 23, 2019

Good catch indeed!

@WestLangley I think this is related to <model-viewer> (which clones the loaded model) was not rendering the test gltfs correctly.

@mrdoob mrdoob changed the title added vertexTangents to material clone Material: added vertexTangents to material clone Oct 23, 2019
@mrdoob mrdoob added this to the r110 milestone Oct 23, 2019
@mrdoob mrdoob merged commit 0785d48 into mrdoob:dev Oct 23, 2019
@mrdoob
Copy link
Owner

mrdoob commented Oct 23, 2019

Thanks!

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.

3 participants