]> git.tdb.fi Git - libs/gl.git/commit
Improve the ambient occlusion postprocessor
authorMikko Rasa <tdb@tdb.fi>
Sat, 10 Dec 2016 23:01:51 +0000 (01:01 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 10 Dec 2016 23:01:51 +0000 (01:01 +0200)
commit1b9640375606a305f19c76cf15406202322b5bdf
tree70d31e93fe438c23d2640cd5d3290dcaa0400fa7
parent63317e423282c1d8a7965743b20a9059a8086e67
Improve the ambient occlusion postprocessor

Now that postprocessors have access to the Renderer and its state, the
camera projection matrix can be used for more sophisticated depth
calculations.
shaderlib/ambientocclusion.glsl
shaderlib/ambientocclusion_combine.glsl
shaderlib/ambientocclusion_occlude.glsl
shaderlib/postprocess.glsl
source/ambientocclusion.cpp
source/ambientocclusion.h