]> git.tdb.fi Git - libs/gl.git/commit
Refactor postprocessor uniform usage
authorMikko Rasa <tdb@tdb.fi>
Sat, 3 Dec 2016 16:37:53 +0000 (18:37 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 3 Dec 2016 16:37:53 +0000 (18:37 +0200)
commita525c632144d3dcefe373916bdde789727d2230d
tree980ace40ca3a9aa432358f8fd76eafe829ee7d84
parent8ec12629c4808588b0eaef88147e22fa658ac990
Refactor postprocessor uniform usage

A lot of the values are shared between processing passes, so it doesn't
make sense to keep multiple copies.  ProgramData will take care of only
setting the required uniforms.
shaderlib/bloom.glsl
source/ambientocclusion.cpp
source/ambientocclusion.h
source/bloom.cpp
source/bloom.h