Draw shadows in a framebuffer object
This commit is contained in:
+1
-1
@@ -55,7 +55,7 @@ setupLoop wName xSize ySize
|
||||
(\_ -> bracket customInit initCleanup $ \setup -> do -- setup <- customInit
|
||||
-- swapInterval $= ImmediateUpdates
|
||||
GL.blend $= GL.Enabled
|
||||
GL.depthMask $= GL.Enabled
|
||||
-- GL.depthMask $= GL.Enabled
|
||||
GL.blendEquation $= GL.FuncAdd
|
||||
GL.blendFunc $= (GL.SrcAlpha,GL.OneMinusSrcAlpha)
|
||||
GL.clearColor $= GL.Color4 0 0.5 0 1
|
||||
|
||||
Reference in New Issue
Block a user