소스 검색

Reverted perPixel premature removal.

Mr.doob 11 년 전
부모
커밋
947f2b3ffd
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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 );