Jelajahi Sumber

update default values

sunag 5 tahun lalu
induk
melakukan
a7c3713d75
1 mengubah file dengan 3 tambahan dan 5 penghapusan
  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 );
 	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 );
 
 
 }
 }