2
0
Wittmann Tobias 8 жил өмнө
parent
commit
3997aa477a

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

@@ -2107,7 +2107,9 @@ THREE.GLTF2Loader = ( function () {
 				// Normal map textures use OpenGL conventions:
 				// https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#materialnormaltexture
 				_material.normalScale.x = -1;
-
+				
+				_material.userData = material.extras;
+				
 				return _material;
 
 			} );