Allow tweaking z buffer when rendering polygon, improve explosion render
This commit is contained in:
+1
-2
@@ -55,11 +55,10 @@ createLightMap
|
||||
-> Int -- Resolution division
|
||||
-> [(Point2,Point2)] -- Wall pairs
|
||||
-> [(Point3,Float,Float)] -- Lights
|
||||
-> (Float,Float) -- View from position
|
||||
-> [Polyhedra] -- foreground geometry
|
||||
-> [Point2]
|
||||
-> IO ()
|
||||
createLightMap pdata resDiv wallPoints lightPoints (viewFromx,viewFromy) fpics scPol = do
|
||||
createLightMap pdata resDiv wallPoints lightPoints fpics scPol = do
|
||||
-- get viewport size so we can reset it later
|
||||
(vppos,vpsize) <- get viewport
|
||||
-- set the viewport size to that of the render buffer
|
||||
|
||||
Reference in New Issue
Block a user