浏览代码

update default values

sunag 5 年之前
父节点
当前提交
a7c3713d75
共有 1 个文件被更改,包括 3 次插入5 次删除
  1. 3 5
      examples/jsm/nodes/materials/nodes/StandardNode.js

+ 3 - 5
examples/jsm/nodes/materials/nodes/StandardNode.js

@@ -17,11 +17,9 @@ function StandardNode() {
 
 	Node.call( this );
 
-	this.color = new ColorNode( 0xEEEEEE );
-	this.roughness = new FloatNode( 0.5 );
-	this.metalness = new FloatNode( 0.5 );
-
-	this.energyPreservation = true;
+	this.color = new ColorNode( 0xFFFFFF );
+	this.roughness = new FloatNode( 1 );
+	this.metalness = new FloatNode( 0 );
 
 }