Fiddling around with lighting and a Rendermanager

This commit is contained in:
steffen 2017-11-22 20:40:45 +01:00
parent 1995d2734e
commit b5ec100c9c
2 changed files with 8 additions and 5 deletions
Lights

View file

@ -50,7 +50,7 @@ class Light:
new = True
glClearColor(1.0,1.0,1.0,1.0)
glBindFramebuffer(GL_FRAMEBUFFER,self.FramebufferId)
glCullFace(GL_FRONT)
#glCullFace(GL_FRONT)
glViewport(0, 0, 512, 512)
if new:
if self.DepthBuffer == -1: