Fixed and Improved ping pong.

This commit is contained in:
Jonathas Costa
2019-07-03 09:43:55 -04:00
parent db1dc5b1bb
commit 420879c28b
5 changed files with 115 additions and 145 deletions
@@ -227,9 +227,9 @@ private:
std::unique_ptr<ghoul::opengl::ProgramObject> _resolveProgram;
UniformCache(mainColorTexture, blackoutFactor, nAaSamples) _uniformCache;
UniformCache(deferredResultsTexture, blackoutFactor, hdrExposure, gamma,
UniformCache(hdrFeedingTexture, blackoutFactor, hdrExposure, gamma,
toneMapOperator, aveLum, maxWhite, Hue, Saturation, Value,
Lightness, colorSpace) _hdrUniformCache;
Lightness, colorSpace, nAaSamples) _hdrUniformCache;
UniformCache(renderedImage, bloomImage, bloomOrigFactor, bloomNewFactor)
_bloomUniformCache;