Browse Source

Reverted perPixel premature removal.

Mr.doob 11 years ago
parent
commit
947f2b3ffd
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/materials/MeshPhongMaterial.js

+ 1 - 0
src/materials/MeshPhongMaterial.js

@@ -56,6 +56,7 @@ THREE.MeshPhongMaterial = function ( parameters ) {
 	this.shininess = 30;
 	this.shininess = 30;
 
 
 	this.metal = false;
 	this.metal = false;
+	this.perPixel = true;
 
 
 	this.wrapAround = false;
 	this.wrapAround = false;
 	this.wrapRGB = new THREE.Vector3( 1, 1, 1 );
 	this.wrapRGB = new THREE.Vector3( 1, 1, 1 );