Mr.doob 3 rokov pred
rodič
commit
cee3294687
4 zmenil súbory, kde vykonal 3 pridanie a 3 odobranie
  1. 1 1
      build/three.cjs
  2. 1 1
      build/three.js
  3. 0 0
      build/three.min.js
  4. 1 1
      build/three.module.js

+ 1 - 1
build/three.cjs

@@ -14053,7 +14053,7 @@ function generateCubeUVSize(parameters) {
 	if (imageHeight === null) return null;
 	const maxMip = Math.log2(imageHeight / 32 + 1) + 3;
 	const texelHeight = 1.0 / imageHeight;
-	const texelWidth = 1.0 / (3 * Math.max(Math.pow(2, maxMip), 7));
+	const texelWidth = 1.0 / (3 * Math.max(Math.pow(2, maxMip), 7 * 16));
 	return {
 		texelWidth,
 		texelHeight,

+ 1 - 1
build/three.js

@@ -14055,7 +14055,7 @@
 		if (imageHeight === null) return null;
 		const maxMip = Math.log2(imageHeight / 32 + 1) + 3;
 		const texelHeight = 1.0 / imageHeight;
-		const texelWidth = 1.0 / (3 * Math.max(Math.pow(2, maxMip), 7));
+		const texelWidth = 1.0 / (3 * Math.max(Math.pow(2, maxMip), 7 * 16));
 		return {
 			texelWidth,
 			texelHeight,

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
build/three.min.js


+ 1 - 1
build/three.module.js

@@ -18362,7 +18362,7 @@ function generateCubeUVSize( parameters ) {
 
 	const texelHeight = 1.0 / imageHeight;
 
-	const texelWidth = 1.0 / ( 3 * Math.max( Math.pow( 2, maxMip ), 7 ) );
+	const texelWidth = 1.0 / ( 3 * Math.max( Math.pow( 2, maxMip ), 7 * 16 ) );
 
 	return { texelWidth, texelHeight, maxMip };
 

Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov