浏览代码

[gltf] Add link to default material spec.

Don McCurdy 8 年之前
父节点
当前提交
d7a5097405
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      examples/js/loaders/GLTF2Loader.js

+ 3 - 0
examples/js/loaders/GLTF2Loader.js

@@ -1540,6 +1540,9 @@ THREE.GLTF2Loader = ( function () {
 
 	}
 
+	/**
+	 * Specification: https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#default-material
+	 */
 	function createDefaultMaterial() {
 
 		return new THREE.MeshStandardMaterial( {