Browse Source

Updated builds.

Mugen87 1 year ago
parent
commit
726f6d95ad
3 changed files with 16 additions and 4 deletions
  1. 8 2
      build/three.cjs
  2. 8 2
      build/three.module.js
  3. 0 0
      build/three.module.min.js

+ 8 - 2
build/three.cjs

@@ -14866,7 +14866,10 @@ function WebGLBackground( renderer, cubemaps, cubeuvmaps, state, objects, alpha,
 
 
 			_e1$1.copy( scene.backgroundRotation );
 			_e1$1.copy( scene.backgroundRotation );
 
 
-			if ( ( background.isCubeTexture && background.isRenderTargetTexture === true ) || background.mapping === CubeUVReflectionMapping ) {
+			// accommodate left-handed frame
+			_e1$1.x *= - 1; _e1$1.y *= - 1; _e1$1.z *= - 1;
+
+			if ( background.isCubeTexture && background.isRenderTargetTexture === false ) {
 
 
 				// environment maps which are not cube render targets or PMREMs follow a different convention
 				// environment maps which are not cube render targets or PMREMs follow a different convention
 				_e1$1.y *= - 1;
 				_e1$1.y *= - 1;
@@ -27931,7 +27934,10 @@ function WebGLMaterials( renderer, properties ) {
 
 
 			_e1.copy( envMapRotation );
 			_e1.copy( envMapRotation );
 
 
-			if ( ( envMap.isCubeTexture && envMap.isRenderTargetTexture === true ) || envMap.mapping === CubeUVReflectionMapping ) {
+			// accommodate left-handed frame
+			_e1.x *= - 1; _e1.y *= - 1; _e1.z *= - 1;
+
+			if ( envMap.isCubeTexture && envMap.isRenderTargetTexture === false ) {
 
 
 				// environment maps which are not cube render targets or PMREMs follow a different convention
 				// environment maps which are not cube render targets or PMREMs follow a different convention
 				_e1.y *= - 1;
 				_e1.y *= - 1;

+ 8 - 2
build/three.module.js

@@ -14864,7 +14864,10 @@ function WebGLBackground( renderer, cubemaps, cubeuvmaps, state, objects, alpha,
 
 
 			_e1$1.copy( scene.backgroundRotation );
 			_e1$1.copy( scene.backgroundRotation );
 
 
-			if ( ( background.isCubeTexture && background.isRenderTargetTexture === true ) || background.mapping === CubeUVReflectionMapping ) {
+			// accommodate left-handed frame
+			_e1$1.x *= - 1; _e1$1.y *= - 1; _e1$1.z *= - 1;
+
+			if ( background.isCubeTexture && background.isRenderTargetTexture === false ) {
 
 
 				// environment maps which are not cube render targets or PMREMs follow a different convention
 				// environment maps which are not cube render targets or PMREMs follow a different convention
 				_e1$1.y *= - 1;
 				_e1$1.y *= - 1;
@@ -27929,7 +27932,10 @@ function WebGLMaterials( renderer, properties ) {
 
 
 			_e1.copy( envMapRotation );
 			_e1.copy( envMapRotation );
 
 
-			if ( ( envMap.isCubeTexture && envMap.isRenderTargetTexture === true ) || envMap.mapping === CubeUVReflectionMapping ) {
+			// accommodate left-handed frame
+			_e1.x *= - 1; _e1.y *= - 1; _e1.z *= - 1;
+
+			if ( envMap.isCubeTexture && envMap.isRenderTargetTexture === false ) {
 
 
 				// environment maps which are not cube render targets or PMREMs follow a different convention
 				// environment maps which are not cube render targets or PMREMs follow a different convention
 				_e1.y *= - 1;
 				_e1.y *= - 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