提交 641e4f92 编写于 作者: A arobertson0

fixed copy/constructors of standard/physical materials

上级 f7ffa206
......@@ -48,7 +48,12 @@ MeshPhysicalMaterial.prototype.copy = function ( source ) {
MeshStandardMaterial.prototype.copy.call( this, source );
this.defines = { 'PHYSICAL': '' };
this.defines = {
'PHYSICAL': '',
'ADVANCED_PHYSICAL': ''
};
this.reflectivity = source.reflectivity;
......
......@@ -59,8 +59,8 @@ function MeshStandardMaterial( parameters ) {
Material.call( this );
this.defines = { 'STANDARD': '' };
this.defines = { 'PHYSICAL': '' };
this.type = 'MeshStandardMaterial';
this.color = new Color( 0xffffff ); // diffuse
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册