Correct bloom shader

This commit is contained in:
jgk
2021-08-20 04:28:46 +02:00
parent 3707716569
commit a822e707e3
2 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ doDrawing pdata w = do
textureBinding Texture2D $= Just (snd $ _fboColor pdata)
drawShader (_colorBlurShader pdata) 4
--textureBinding Texture2D $= Just (snd3 $ _fbo2 pdata)
--blendFunc $= (SrcAlpha, One)
blendFunc $= (SrcAlpha, One)
textureBinding Texture2D $= Just (snd $ _fboFourth1 pdata)
drawShader (_fullscreenShader pdata) 4
blendFunc $= (SrcAlpha, OneMinusSrcAlpha)