Bläddra i källkod

update default values

sunag 5 år sedan
förälder
incheckning
a7c3713d75
1 ändrade filer med 3 tillägg och 5 borttagningar
  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 );
 
 }