Mugen87 1 anno fa
parent
commit
abb5abc079
3 ha cambiato i file con 12 aggiunte e 8 eliminazioni
  1. 6 4
      build/three.cjs
  2. 6 4
      build/three.module.js
  3. 0 0
      build/three.module.min.js

+ 6 - 4
build/three.cjs

@@ -14871,8 +14871,9 @@ function WebGLBackground( renderer, cubemaps, cubeuvmaps, state, objects, alpha,
 
 			if ( background.isCubeTexture && background.isRenderTargetTexture === false ) {
 
-				// environment maps which are no cube render targets or PMREMs follow a different px/nx convention
-				_e1$1.x *= - 1;
+				// environment maps which are not cube render targets or PMREMs follow a different convention
+				_e1$1.y *= - 1;
+				_e1$1.z *= - 1;
 
 			}
 
@@ -27938,8 +27939,9 @@ function WebGLMaterials( renderer, properties ) {
 
 			if ( envMap.isCubeTexture && envMap.isRenderTargetTexture === false ) {
 
-				// environment maps which are no cube render targets or PMREMs follow a different px/nx convention
-				_e1.x *= - 1;
+				// environment maps which are not cube render targets or PMREMs follow a different convention
+				_e1.y *= - 1;
+				_e1.z *= - 1;
 
 			}
 

+ 6 - 4
build/three.module.js

@@ -14869,8 +14869,9 @@ function WebGLBackground( renderer, cubemaps, cubeuvmaps, state, objects, alpha,
 
 			if ( background.isCubeTexture && background.isRenderTargetTexture === false ) {
 
-				// environment maps which are no cube render targets or PMREMs follow a different px/nx convention
-				_e1$1.x *= - 1;
+				// environment maps which are not cube render targets or PMREMs follow a different convention
+				_e1$1.y *= - 1;
+				_e1$1.z *= - 1;
 
 			}
 
@@ -27936,8 +27937,9 @@ function WebGLMaterials( renderer, properties ) {
 
 			if ( envMap.isCubeTexture && envMap.isRenderTargetTexture === false ) {
 
-				// environment maps which are no cube render targets or PMREMs follow a different px/nx convention
-				_e1.x *= - 1;
+				// environment maps which are not cube render targets or PMREMs follow a different convention
+				_e1.y *= - 1;
+				_e1.z *= - 1;
 
 			}
 

File diff suppressed because it is too large
+ 0 - 0
build/three.module.min.js


Some files were not shown because too many files changed in this diff