Jelajahi Sumber

remove oaMap/oaScale from MeshBasicMaterial and MeshLambertMaterial per @WestLangley suggestions.

Ben Houston 10 tahun lalu
induk
melakukan
f7bb20d440
2 mengubah file dengan 0 tambahan dan 11 penghapusan
  1. 0 5
      src/materials/MeshBasicMaterial.js
  2. 0 6
      src/materials/MeshLambertMaterial.js

+ 0 - 5
src/materials/MeshBasicMaterial.js

@@ -8,7 +8,6 @@
  *  map: new THREE.Texture( <Image> ),
  *  map: new THREE.Texture( <Image> ),
  *
  *
  *  lightMap: new THREE.Texture( <Image> ),
  *  lightMap: new THREE.Texture( <Image> ),
- *  aoMap: new THREE.Texture( <Image> ),
  *
  *
  *  specularMap: new THREE.Texture( <Image> ),
  *  specularMap: new THREE.Texture( <Image> ),
  *
  *
@@ -47,8 +46,6 @@ THREE.MeshBasicMaterial = function ( parameters ) {
 	this.map = null;
 	this.map = null;
 
 
 	this.lightMap = null;
 	this.lightMap = null;
-	this.aoMap = null;
-	this.aoScale = 1.0;
 
 
 	this.specularMap = null;
 	this.specularMap = null;
 
 
@@ -91,8 +88,6 @@ THREE.MeshBasicMaterial.prototype.clone = function () {
 	material.map = this.map;
 	material.map = this.map;
 
 
 	material.lightMap = this.lightMap;
 	material.lightMap = this.lightMap;
-	material.aoMap = this.aoMap;
-	material.aoScale = this.aoScale;
 
 
 	material.specularMap = this.specularMap;
 	material.specularMap = this.specularMap;
 
 

+ 0 - 6
src/materials/MeshLambertMaterial.js

@@ -10,7 +10,6 @@
  *  map: new THREE.Texture( <Image> ),
  *  map: new THREE.Texture( <Image> ),
  *
  *
  *  lightMap: new THREE.Texture( <Image> ),
  *  lightMap: new THREE.Texture( <Image> ),
- *  aoMap: new THREE.Texture( <Image> ),
  *
  *
  *  specularMap: new THREE.Texture( <Image> ),
  *  specularMap: new THREE.Texture( <Image> ),
  *
  *
@@ -54,8 +53,6 @@ THREE.MeshLambertMaterial = function ( parameters ) {
 	this.map = null;
 	this.map = null;
 
 
 	this.lightMap = null;
 	this.lightMap = null;
-	this.aoMap = null;
-	this.aoScale = 1.0;
 
 
 	this.specularMap = null;
 	this.specularMap = null;
 
 
@@ -103,9 +100,6 @@ THREE.MeshLambertMaterial.prototype.clone = function () {
 	material.map = this.map;
 	material.map = this.map;
 
 
 	material.lightMap = this.lightMap;
 	material.lightMap = this.lightMap;
-	material.aoMap = this.aoMap;
-	material.aoScale = this.aoScale;
-	material.aoScale = this.aoScale;
 
 
 	material.specularMap = this.specularMap;
 	material.specularMap = this.specularMap;