提交 3997aa47 编写于 作者: W Wittmann Tobias

copy material extras

上级 ddc196f3
......@@ -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;
} );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册