提交 a31350f5 编写于 作者: A acgessler

AssimpJSONLoader: default to THREE.RepeatWrapping

上级 1db6d10a
......@@ -214,6 +214,10 @@ THREE.AssimpJSONLoader.prototype = {
loader.setCrossOrigin(this.crossOrigin);
loader.load(scope.texturePath + '/' + prop.value, function(tex) {
if(tex) {
// TODO: read texture settings from assimp.
// Wrapping is the default, though.
tex.wrapS = tex.wrapT = THREE.RepeatWrapping;
mat[keyname] = tex;
mat.needsUpdate = true;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册