fixed the light problem,

very basic light at the moment, needs a lot of work:
- custom position,
- custom intensities,
- calculate at better positions,
others:
- adjust zoom speed
This commit is contained in:
Anakin
2017-01-17 18:03:47 +01:00
parent 1c962a481f
commit f5863752e2
3 changed files with 6 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ private:
struct {
QVector3D position = { 1,1,1 };
QVector3D intensities = { 1,1,1 };
QVector3D intensities = { 1,0.25,0.25 };
} m_light;
QOpenGLShaderProgram m_program;