diff options
Diffstat (limited to '')
-rw-r--r-- | NW4RTools/Models/Material.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/NW4RTools/Models/Material.cs b/NW4RTools/Models/Material.cs index bb1b85a..4540b0d 100644 --- a/NW4RTools/Models/Material.cs +++ b/NW4RTools/Models/Material.cs @@ -1,4 +1,5 @@ using System; +using System.Collections.Generic; namespace NW4RTools.Models { public class ChanCtrl { @@ -7,6 +8,8 @@ namespace NW4RTools.Models { public UInt32 FlagC, FlagA; } + + // TODO: Rename this class? public class SRTSettingInfo { public float ScaleX, ScaleY, Rotate, TranslateX, TranslateY; @@ -22,6 +25,7 @@ namespace NW4RTools.Models { public UInt32 TexMapID, TlutID, WrapS, WrapT, MinFilt, MagFilt; public float LODBias; public UInt32 MaxAniso; + public bool BiasClamp, DoEdgeLOD; } @@ -43,8 +47,15 @@ namespace NW4RTools.Models { public byte[] TlutObj; // ResTexSrt + public UInt32 TexMatrixType; public SRTSettingInfo[] SRTSettings; + // ResMatChan + public ChanCtrl[] ChanCtrls; + + // Other + public List<BoundTextureInfo> BoundTextures; + // UNFINISHED public Material() { |