Commit eb059237 authored by C-Fu's avatar C-Fu

added attributes to materials

parent 28d17b2f
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment