Explorar o código

Reverted perPixel premature removal.

Mr.doob %!s(int64=11) %!d(string=hai) anos
pai
achega
947f2b3ffd
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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.metal = false;
+	this.perPixel = true;
 
 	this.wrapAround = false;
 	this.wrapRGB = new THREE.Vector3( 1, 1, 1 );