浏览代码

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 );