Turned off back-face culling in examples, as this makes it easier to view certain shapes such as heightmaps.
This commit is contained in:
parent
499db6a185
commit
ec08b28002
@ -45,7 +45,6 @@ void OpenGLWidget::initializeGL()
|
||||
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
|
||||
glClearDepth(1.0f);
|
||||
|
||||
glEnable(GL_CULL_FACE);
|
||||
glEnable(GL_DEPTH_TEST);
|
||||
glDepthMask(GL_TRUE);
|
||||
glDepthFunc(GL_LEQUAL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user