Explorar o código

[gltf] Add link to default material spec.

Don McCurdy %!s(int64=8) %!d(string=hai) anos
pai
achega
d7a5097405
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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( {