Force shininess to 64 - this is reported to fix #71

master
Marius Kintel 2014-08-22 11:48:34 -04:00
parent 8a9e0daa01
commit 574fbf97c5
1 changed files with 2 additions and 0 deletions

View File

@ -350,6 +350,8 @@ void GLView::initializeGL()
glEnable(GL_NORMALIZE);
glColorMaterial(GL_FRONT_AND_BACK, GL_AMBIENT_AND_DIFFUSE);
// The following line is reported to fix issue #71
glMateriali(GL_FRONT_AND_BACK, GL_SHININESS, 64);
glEnable(GL_COLOR_MATERIAL);
#ifdef ENABLE_OPENCSG
enable_opencsg_shaders();