Move main to allow for new executables
This commit is contained in:
+2
-2
@@ -1,4 +1,4 @@
|
||||
{-# LANGUAGE TupleSections #-}
|
||||
--{-# LANGUAGE TupleSections #-}
|
||||
module Render
|
||||
where
|
||||
import Shader
|
||||
@@ -59,7 +59,7 @@ createLightMap pdata lightPoints nWalls nSils nsurfVs = do
|
||||
blendFunc $= (Zero, OneMinusSrcAlpha)
|
||||
stencilTest $= Enabled
|
||||
depthFunc $= Just Lequal
|
||||
forM_ lightPoints $ \((V3 x y z),r,lum) -> do
|
||||
forM_ lightPoints $ \(V3 x y z,r,lum) -> do
|
||||
-- stencil out shadows
|
||||
colorMask $= Color4 Disabled Disabled Disabled Disabled
|
||||
clear [StencilBuffer]
|
||||
|
||||
Reference in New Issue
Block a user