Преглед изворни кода

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