added specular, ambient light,...

need to fix the texutre gamma correction,
look at the todos
This commit is contained in:
Anakin
2017-01-19 17:57:50 +01:00
parent 4c177f2ddc
commit 9fb3ca03bd
6 changed files with 61 additions and 24 deletions

View File

@@ -217,6 +217,7 @@ void MshFile::analyseMatdChunks(std::list<ChunkHeader*>& chunkList)
{
for (auto& it : chunkList)
{
// TODO: don't load default texture, make it NULL
//TODO: get information from flags
// attributes
if (!strcmp("ATRB", it->name))