moved `flipY = false` to CubeTexture constructor
@@ -43,10 +43,6 @@ THREE.ImageUtils = {
var texture = new THREE.CubeTexture( images, mapping );
- // no flipping needed for cube textures
-
- texture.flipY = false;
var loaded = 0;
var loadTexture = function ( i ) {
@@ -10,6 +10,8 @@ THREE.CubeTexture = function ( images, mapping, wrapS, wrapT, magFilter, minFilt
this.images = images;
+ this.flipY = false;
+
};
THREE.CubeTexture.prototype = Object.create( THREE.Texture.prototype );