summaryrefslogtreecommitdiff
path: root/NW4RTools/Models
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2011-02-06 04:02:38 +0100
committerTreeki <treeki@gmail.com>2011-02-06 04:02:38 +0100
commit58f30cf003a6b7b3686f70fa0539aa45d126b457 (patch)
treed1684ac61428cd56350bf0af6eeb88303b1df22d /NW4RTools/Models
parenta7b952e51e8af35d903ae0a4fbe041423d35ff6d (diff)
downloadnw4rtools-58f30cf003a6b7b3686f70fa0539aa45d126b457.tar.gz
nw4rtools-58f30cf003a6b7b3686f70fa0539aa45d126b457.zip
shader reading support
Diffstat (limited to '')
-rw-r--r--NW4RTools/Models/Material.cs1
-rw-r--r--NW4RTools/Models/Shader.cs5
2 files changed, 6 insertions, 0 deletions
diff --git a/NW4RTools/Models/Material.cs b/NW4RTools/Models/Material.cs
index 8ece6ad..8ca5082 100644
--- a/NW4RTools/Models/Material.cs
+++ b/NW4RTools/Models/Material.cs
@@ -55,6 +55,7 @@ namespace NW4RTools.Models {
// Other
public List<BoundTextureInfo> BoundTextures;
+ public Shader ShaderRef;
// Display Lists
public byte[] PixDL;
diff --git a/NW4RTools/Models/Shader.cs b/NW4RTools/Models/Shader.cs
index 42586da..767470e 100644
--- a/NW4RTools/Models/Shader.cs
+++ b/NW4RTools/Models/Shader.cs
@@ -3,6 +3,11 @@ using System.Collections.Generic;
namespace NW4RTools.Models {
public class Shader {
+ public UInt32 Index;
+ public byte TevStageCount;
+ public UInt32 Unk1, Unk2; // TODO: figure these out
+ public byte[] DisplayList;
+
public Shader() {
}
}