added attributes to materials
This commit is contained in:
parent
28d17b2fdd
commit
eb0592373f
|
@ -45,7 +45,9 @@ struct Material {
|
|||
QOpenGLTexture* texture = Q_NULLPTR;
|
||||
bool transparent = false;
|
||||
float shininess = 80; //TODO: read from file
|
||||
QVector3D specularColor = {1.0,1.0,1.0}; //TODO: read from file
|
||||
QVector4D specularColor = {1.0,1.0,1.0, 1.0}; //TODO: read from file, change to 4D
|
||||
QVector4D diffuseColor;
|
||||
QVector4D ambientColor;
|
||||
};
|
||||
|
||||
class FileInterface : public QObject
|
||||
|
|
Loading…
Reference in New Issue