change background when the light is on

This commit is contained in:
Anakin
2017-01-20 16:39:17 +01:00
parent 9808cd03c0
commit af94ecd541
3 changed files with 12 additions and 3 deletions

View File

@@ -44,6 +44,8 @@ private:
float ambientCoefficient = 0.005f;
} m_light;
QVector4D m_backgroundColor = {0.5f, 0.8f, 1.0f, 1.0f};
QOpenGLShaderProgram m_program;
GeometryEngine *m_dataEngine;