Browse Source

be specific about using BackSide

Richard Monette 7 years ago
parent
commit
fcc238f289
1 changed files with 1 additions and 1 deletions
  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 );