BNTX : Quick fix for dims when importing cubemaps as DDS
This commit is contained in:
parent
12dfbaadaf
commit
d923705c3c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user