Separate cloud & surface lighting

This commit is contained in:
2025-11-20 14:01:54 +00:00
parent 1f1fa36b72
commit 602b162d41
5 changed files with 15 additions and 7 deletions
+2
View File
@@ -160,6 +160,7 @@ doDrawing' win pdata u = do
glEnable GL_BLEND
--draw lightmap into its own buffer
createLightMap
False
(w ^. wCam)
cfig
(cfig ^. gr_shadow_rendering)
@@ -284,6 +285,7 @@ doDrawing' win pdata u = do
glEnable GL_BLEND
glBindFramebuffer GL_FRAMEBUFFER (_unFBO (fst (_fboLighting pdata)))
createLightMap
True
(w ^. wCam)
cfig
(cfig ^. gr_shadows_on_clouds)