|
@@ -14053,7 +14053,7 @@ function generateCubeUVSize(parameters) {
|
|
if (imageHeight === null) return null;
|
|
if (imageHeight === null) return null;
|
|
const maxMip = Math.log2(imageHeight / 32 + 1) + 3;
|
|
const maxMip = Math.log2(imageHeight / 32 + 1) + 3;
|
|
const texelHeight = 1.0 / imageHeight;
|
|
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 {
|
|
return {
|
|
texelWidth,
|
|
texelWidth,
|
|
texelHeight,
|
|
texelHeight,
|