Kaynağa Gözat

Updated builds.

Mugen87 1 yıl önce
ebeveyn
işleme
b43d4ee2e7
3 değiştirilmiş dosya ile 4 ekleme ve 16 silme
  1. 2 8
      build/three.cjs
  2. 2 8
      build/three.module.js
  3. 0 0
      build/three.module.min.js

+ 2 - 8
build/three.cjs

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

+ 2 - 8
build/three.module.js

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

Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
build/three.module.min.js


Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor