1
0
mirror of synced 2024-09-24 19:48:21 +02:00

A few more texture adjustments

This commit is contained in:
KillzXGaming 2019-11-01 17:39:14 -04:00
parent f25af1afce
commit 519d9a734d

View File

@ -141,7 +141,9 @@ namespace FirstPlugin.LuigisMansion3
uint blockHeight = TegraX1Swizzle.GetBlockHeight(TegraX1Swizzle.DIV_ROUND_UP(Height, blkHeight));
uint BlockHeightLog2 = (uint)Convert.ToString(blockHeight, 2).Length;
if (Format == TEX_FORMAT.ASTC_6x6_UNORM || Format == TEX_FORMAT.BC5_SNORM)
// if (Format == TEX_FORMAT.ASTC_4x4_UNORM || Format == TEX_FORMAT.ASTC_6x6_UNORM || Format == TEX_FORMAT.BC5_SNORM)
if (Format != TEX_FORMAT.ASTC_8x5_UNORM)
BlockHeightLog2 -= 1;
Console.WriteLine("blkHeight " + blkHeight);