소스 검색

[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( {