disable lighting and depth test
This commit is contained in:
1 parent
dd8bd07d1e
commit
4cc7901c2d
1 file changed
-6
@@ -35,12 +35,6 @@ class SketchWidget:
|
||||
# GL calls
|
||||
if not gldrawable.gl_begin(glcontext): return
|
||||
|
||||
glLightfv(GL_LIGHT0, GL_POSITION, (1, 1, 1, 0))
|
||||
glEnable(GL_CULL_FACE)
|
||||
glEnable(GL_LIGHTING)
|
||||
glEnable(GL_LIGHT0)
|
||||
glEnable(GL_DEPTH_TEST)
|
||||
|
||||
gldrawable.gl_end()
|
||||
|
||||
def reshape(self, glarea, event):
|
||||
|
||||
Reference in new issue
Block a user