设置材质初始化参数

pull/7/head
ChenX 7 years ago
parent 88c8fbb30f
commit 521f1ffc01

@ -30,7 +30,7 @@ export class MaterialDictionary
}
createMaterial()
{
let mat = new THREE.MeshPhysicalMaterial({ roughness: 0.2, metalness: 0.2 });
let mat = new THREE.MeshPhysicalMaterial({ roughness: 0.2, metalness: 0.2, bumpScale: 0.0005 });
mat.name = "材质" + this._cout;
this.addMaterial(mat);
}

Loading…
Cancel
Save