save more material information,

hold default material in geometry separated,
load diffuse color if texture cannot be opened,
fixed gamma correction on the texture,
This commit is contained in:
Anakin
2017-01-20 16:26:58 +01:00
parent abd9070e90
commit 9808cd03c0
5 changed files with 77 additions and 59 deletions

View File

@@ -28,6 +28,7 @@ private:
QVector<Material>* m_materials = Q_NULLPTR;
QVector<DrawInformation> m_drawList;
BoundingBox m_boundings;
Material* m_defaultMaterial;
void clearData();