1
0
mirror of synced 2024-11-28 01:10:51 +01:00

BNTX : Quick fix for dims when importing cubemaps as DDS

This commit is contained in:
KillzXGaming 2021-04-04 17:08:54 -04:00
parent 12dfbaadaf
commit d923705c3c

View File

@ -76,6 +76,9 @@ namespace FirstPlugin
var surfaces = DDS.GetArrayFaces(dds, dds.ArrayCount);
if (dds.IsCubemap)
SurfaceDim = SurfaceDim.DimCube;
RedComp = dds.RedChannel;
GreenComp = dds.GreenChannel;
BlueComp = dds.BlueChannel;