ソースを参照

be specific about using BackSide

Richard Monette 7 年 前
コミット
fcc238f289
1 ファイル変更1 行追加1 行削除
  1. 1 1
      examples/js/loaders/EquiangularToCubeGenerator.js

+ 1 - 1
examples/js/loaders/EquiangularToCubeGenerator.js

@@ -18,7 +18,7 @@ THREE.EquiangularToCubeGenerator = function( sourceTexture, resolution ) {
 
 	this.camera = new THREE.PerspectiveCamera( 90, 1, 0.1, 10 );
 	this.boxMesh = new THREE.Mesh( new THREE.BoxBufferGeometry( 1, 1, 1 ), this.getShader() );
-	this.boxMesh.material.side = THREE.DoubleSide;
+	this.boxMesh.material.side = THREE.BackSide;
 	this.scene = new THREE.Scene();
 	this.scene.add( this.boxMesh );