Now supporting multiple material per mesh. Simon changed glDrawElementsBaseVertex to glDrawElements in DrawFinalPass.cpp Hallelulijah!

This commit is contained in:
antc13
2016-01-19 17:40:34 +01:00
parent 2a3009212a
commit 3826142e94
15 changed files with 359 additions and 230 deletions
+2 -2
View File
@@ -67,9 +67,9 @@ public:
out << "IndexStart: " << IndexStart << endl;
out << "IndexEnd: " << IndexEnd << endl;
out << "ColorMapFile length: " << ColorMapFileLength << endl;
if (ColorMapFileLength > 0)
out << "ColorMapFile: " << ColorMapFile << endl;
if (NormalMapFileLength > 0)
out << "NormalMapFile: " << NormalMapFile << endl;
@@ -86,7 +86,7 @@ class Material
public:
Material() {};
~Material() {};
std::vector<MaterialNode>* DoIt();
std::vector<MaterialNode>* DoIt(Mesh mesh);
std::vector<std::string>* TexturePaths();
private:
MPlug m_Plug;