3MFLoader: Added missing flatShading.
@@ -970,7 +970,7 @@ THREE.ThreeMFLoader.prototype = Object.assign( Object.create( THREE.Loader.proto
// material
- var material = new THREE.MeshPhongMaterial( { vertexColors: THREE.VertexColors } );
+ var material = new THREE.MeshPhongMaterial( { vertexColors: THREE.VertexColors, flatShading: true } );
// mesh
@@ -993,7 +993,7 @@ ThreeMFLoader.prototype = Object.assign( Object.create( Loader.prototype ), {
- var material = new MeshPhongMaterial( { vertexColors: VertexColors } );
+ var material = new MeshPhongMaterial( { vertexColors: VertexColors, flatShading: true } );