Fiddling around with lighting and a Rendermanager
This commit is contained in:
parent
1995d2734e
commit
b5ec100c9c
2 changed files with 8 additions and 5 deletions
Lights
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue