mirror of https://github.com/vitalif/openscad
Force shininess to 64 - this is reported to fix #71
parent
8a9e0daa01
commit
574fbf97c5
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue