cloth now has specular

This commit is contained in:
Anakin
2017-02-05 15:25:59 +01:00
parent f47e1cc76a
commit 4c40d140a9
2 changed files with 21 additions and 6 deletions

View File

@@ -42,10 +42,10 @@ struct Material {
QString tx3d;
QOpenGLTexture* texture0 = Q_NULLPTR;
QOpenGLTexture* texture1 = Q_NULLPTR;
QVector4D specularColor = { 1.0, 1.0, 1.0, 1.0 };
QVector4D specularColor = { 0.1f, 0.1f, 0.1f, 1.0 };
QVector4D diffuseColor = { 1.0, 0.0, 0.0, 1.0 };
QVector4D ambientColor = { 1.0, 1.0, 1.0, 1.0 };
float shininess = 80;
float shininess = 1;
bool flags[8] = { false };
bool transparent = false;
quint8 rendertype = 0;