소스 검색

USDZExporter: Clean up

Mr.doob 4 년 전
부모
커밋
ff0e2e1b1b
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      examples/jsm/exporters/USDZExporter.js

+ 3 - 2
examples/jsm/exporters/USDZExporter.js

@@ -76,7 +76,9 @@ function buildHeader() {
 
 	return `#usda 1.0
 (
-    doc = "Three.js"
+    customLayerData = {
+        string creator = "Three.js USDZExporter"
+    }
     metersPerUnit = 1
     upAxis = "Y"
 )
@@ -346,7 +348,6 @@ function buildTexture( texture ) {
     {
         uniform token info:id = "UsdUVTexture"
         asset inputs:file = @textures/Texture_${ texture.id }.jpg@
-        token inputs:isSRGB = "auto"
         token inputs:wrapS = "repeat"
         token inputs:wrapT = "repeat"
         float outputs:r