Ver Fonte

[gltf] Add link to default material spec.

Don McCurdy há 8 anos atrás
pai
commit
d7a5097405
1 ficheiros alterados com 3 adições e 0 exclusões
  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( {