Mugen87 7 年之前
父節點
當前提交
db58734b6b
共有 3 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      src/materials/MeshBasicMaterial.js
  2. 1 1
      src/materials/MeshLambertMaterial.js
  3. 1 1
      src/materials/MeshPhongMaterial.js

+ 1 - 1
src/materials/MeshBasicMaterial.js

@@ -21,7 +21,7 @@ import { Color } from '../math/Color.js';
  *
  *  alphaMap: new THREE.Texture( <Image> ),
  *
- *  envMap: new THREE.TextureCube( [posx, negx, posy, negy, posz, negz] ),
+ *  envMap: new THREE.CubeTexture( [posx, negx, posy, negy, posz, negz] ),
  *  combine: THREE.Multiply,
  *  reflectivity: <float>,
  *  refractionRatio: <float>,

+ 1 - 1
src/materials/MeshLambertMaterial.js

@@ -26,7 +26,7 @@ import { Color } from '../math/Color.js';
  *
  *  alphaMap: new THREE.Texture( <Image> ),
  *
- *  envMap: new THREE.TextureCube( [posx, negx, posy, negy, posz, negz] ),
+ *  envMap: new THREE.CubeTexture( [posx, negx, posy, negy, posz, negz] ),
  *  combine: THREE.Multiply,
  *  reflectivity: <float>,
  *  refractionRatio: <float>,

+ 1 - 1
src/materials/MeshPhongMaterial.js

@@ -39,7 +39,7 @@ import { Color } from '../math/Color.js';
  *
  *  alphaMap: new THREE.Texture( <Image> ),
  *
- *  envMap: new THREE.TextureCube( [posx, negx, posy, negy, posz, negz] ),
+ *  envMap: new THREE.CubeTexture( [posx, negx, posy, negy, posz, negz] ),
  *  combine: THREE.Multiply,
  *  reflectivity: <float>,
  *  refractionRatio: <float>,