提交 59875def 编写于 作者: C Clark Lavery

simplifying the default normalScale setting statement

上级 b25c7e52
......@@ -616,7 +616,7 @@ THREE.GLTFLoader = ( function () {
material.bumpScale = 1;
material.normalMap = params.normalMap === undefined ? null : params.normalMap;
material.normalScale = params.normalScale === undefined ? new THREE.Vector2( 1, 1 ) : params.normalScale;
if ( params.normalScale ) material.normalScale = params.normalScale;
material.displacementMap = null;
material.displacementScale = 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册