change background when the light is on
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user