Working cloud shadows (slow)
This commit is contained in:
+4
-2
@@ -139,14 +139,16 @@ doDrawing pdata w = do
|
||||
drawBuffers $= [FBOColorAttachment 0,NoBuffers]
|
||||
clear [ColorBuffer]
|
||||
renderLayer 2 shadV layerCounts
|
||||
renderWindows pdata windowPoints
|
||||
--renderWindows pdata windowPoints
|
||||
|
||||
----render transparency depths
|
||||
depthMask $= Enabled
|
||||
blend $= Disabled
|
||||
drawBuffers $= [NoBuffers,FBOColorAttachment 1]
|
||||
clearColor $= Color4 0 0 0 0
|
||||
clear [ColorBuffer]
|
||||
renderLayer 2 shadV layerCounts
|
||||
renderWindows pdata windowPoints
|
||||
--renderWindows pdata windowPoints
|
||||
depthMask $= Disabled
|
||||
blend $= Enabled
|
||||
|
||||
|
||||
Reference in New Issue
Block a user