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

@@ -179,7 +179,8 @@ void OglViewerWidget::initializeGL()
{
initializeOpenGLFunctions();
glClearColor(0.5000f, 0.8000f, 1.0000f, 0.0000f);
//glClearColor(0.5000f, 0.8000f, 1.0000f, 0.0000f);
glClearColor(0.02f, 0.01f, 0.01f, 0.0000f);
initShaders();