浏览代码

Docs: Add KHR_materials_extension to the GLTFLoader/Exporter Chinese documents

Takahiro 4 年之前
父节点
当前提交
d3c18f8f57
共有 2 个文件被更改,包括 20 次插入0 次删除
  1. 8 0
      docs/examples/zh/exporters/GLTFExporter.html
  2. 12 0
      docs/examples/zh/loaders/GLTFLoader.html

+ 8 - 0
docs/examples/zh/exporters/GLTFExporter.html

@@ -33,6 +33,14 @@
 			<li>KHR_texture_transform</li>
 		</ul>
 
+		<p>
+			The following glTF 2.0 extension is supported by an external user plugin
+		</p>
+
+		<ul>
+			<li>[link:https://github.com/takahirox/three-gltf-plugins KHR_materials_variants]</li>
+		</ul>
+
 		<h2>代码示例</h2>
 
 		<code>

+ 12 - 0
docs/examples/zh/loaders/GLTFLoader.html

@@ -38,6 +38,14 @@
 			<li>EXT_meshopt_compression</li>
 		</ul>
 
+		<p>
+			The following glTF 2.0 extension is supported by an external user plugin
+		</p>
+
+		<ul>
+			<li>[link:https://github.com/takahirox/three-gltf-plugins KHR_materials_variants]<sup>3</sup></li>
+		</ul>
+
 		<p><i>
 			<sup>1</sup>需要[link:https://threejs.org/docs/#api/en/renderers/WebGLRenderer.physicallyCorrectLights physicallyCorrectLights]被启用。
 		</i></p>
@@ -52,6 +60,10 @@
 			#[link:https://github.com/mrdoob/three.js/issues/12788 12788]。
 		</i></p>
 
+		<p><i>
+			<sup>3</sup>You can also manually process the extension after loading in your application. See [link:https://threejs.org/examples/#webgl_loader_gltf_variants Three.js glTF materials variants example].
+		</i></p>
+
 		<h2>代码示例</h2>
 
 		<code>