Skip to content

Commit

Permalink
USDZExporter: Fixed normals
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Feb 9, 2021
1 parent d1de1f0 commit ddc530d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/jsm/exporters/USDZExporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function buildMesh( geometry, material ) {
int[] faceVertexIndices = [${ buildMeshVertexIndices( geometry ) }]
rel material:binding = </_materials/Material_${ material.id }>
normal3f[] normals = [${ buildVector3Array( attributes.normal, count )}] (
interpolation = "faceVarying"
interpolation = "vertex"
)
point3f[] points = [${ buildVector3Array( attributes.position, count )}]
texCoord2f[] primvars:UVMap = [${ buildVector2Array( attributes.uv, count )}] (
Expand Down

0 comments on commit ddc530d

Please sign in to comment.