Progress towards downscaling bloom texture

This commit is contained in:
2021-07-06 14:06:24 +02:00
parent be7bf986e2
commit f5b139a53e
6 changed files with 80 additions and 176 deletions
+1 -2
View File
@@ -36,11 +36,10 @@ resizeSpareFBO xsize ysize xfull yfull pdata = do
putStrLn $ "after resize, framebuffer status:" ++ show fboStatus
resizeTextureFBO (_fbo2 rdata) xfull yfull
resizeTextureFBO (_fbo3 rdata) xfull yfull
resizeRBO (snd $ _fbos rdata) xfull yfull
mapM_ (\p -> resizeFBOTO p xfull yfull) (fst $ _fbos rdata)
resizeRBO (_rboBaseBloom rdata) xfull yfull
resizeFBOTO (_fboBase rdata) xfull yfull
resizeFBOTO (_fboBloom rdata) xfull yfull
resizeFBOTO (_fboColor rdata) xfull yfull
resizeRBO (_rboLighting rdata) xsize ysize
resizeFBOTO (_fboLighting rdata) xsize ysize