From ddc530d9d0602094ba6af7fb0df9f7bdb246f099 Mon Sep 17 00:00:00 2001 From: "Mr.doob" Date: Tue, 9 Feb 2021 21:44:28 +0000 Subject: [PATCH] USDZExporter: Fixed normals --- examples/jsm/exporters/USDZExporter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/jsm/exporters/USDZExporter.js b/examples/jsm/exporters/USDZExporter.js index 6c99be4d1838ce..378ced92f946f8 100644 --- a/examples/jsm/exporters/USDZExporter.js +++ b/examples/jsm/exporters/USDZExporter.js @@ -89,7 +89,7 @@ function buildMesh( geometry, material ) { int[] faceVertexIndices = [${ buildMeshVertexIndices( geometry ) }] rel material:binding = normal3f[] normals = [${ buildVector3Array( attributes.normal, count )}] ( - interpolation = "faceVarying" + interpolation = "vertex" ) point3f[] points = [${ buildVector3Array( attributes.position, count )}] texCoord2f[] primvars:UVMap = [${ buildVector2Array( attributes.uv, count )}] (