From 58f30cf003a6b7b3686f70fa0539aa45d126b457 Mon Sep 17 00:00:00 2001
From: Treeki <treeki@gmail.com>
Date: Sun, 6 Feb 2011 04:02:38 +0100
Subject: shader reading support

---
 NW4RTools/Models/Material.cs | 1 +
 NW4RTools/Models/Shader.cs   | 5 +++++
 2 files changed, 6 insertions(+)

(limited to 'NW4RTools/Models')

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() {
 		}
 	}
-- 
cgit v1.2.3