Explorar el Código

be specific about using BackSide

Richard Monette hace 7 años
padre
commit
fcc238f289
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 );