提交 654e95dc 编写于 作者: T Takahiro

Add default material

上级 e23b03b4
......@@ -534,6 +534,20 @@ THREE.GLTFLoader = ( function () {
}
function createDefaultMaterial() {
return new THREE.MeshPhongMaterial( {
color: 0x00000,
emissive: 0x888888,
specular: 0x000000,
shininess: 0,
transparent: false,
depthTest: true,
side: THREE.FrontSide
} );
};
// Deferred constructor for RawShaderMaterial types
function DeferredShaderMaterial( params ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册