Procházet zdrojové kódy

Reverted perPixel premature removal.

Mr.doob před 11 roky
rodič
revize
947f2b3ffd
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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 );