Correct projected wall shadows when there is an offset camera

This commit is contained in:
jgk
2021-03-19 15:51:11 +01:00
parent 5a7be55e24
commit bd7a5c3533
6 changed files with 81 additions and 40 deletions
+1
View File
@@ -59,6 +59,7 @@ main = do
(_windowX w,_windowY w)
(wallsForGloom w)
(lightsForGloom' w)
(_cameraCenter w)
(worldPictures w)
blendFunc $= (SrcAlpha,OneMinusSrcAlpha)
renderFoldable (_renderData preData) (_cameraRot w) (_cameraZoom w) (_cameraPos w)