未验证 提交 77cb0594 编写于 作者: M Michael Herzog 提交者: GitHub

Merge pull request #17849 from Mugen87/dev11

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 ), {
// material
var material = new MeshPhongMaterial( { vertexColors: VertexColors } );
var material = new MeshPhongMaterial( { vertexColors: VertexColors, flatShading: true } );
// mesh
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册