Explorar el Código

update default values

sunag hace 5 años
padre
commit
a7c3713d75
Se han modificado 1 ficheros con 3 adiciones y 5 borrados
  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 );
 
 }