]> git.tdb.fi Git - libs/gl.git/commit
Use linear filtering for ambient occlusion render target
authorMikko Rasa <tdb@tdb.fi>
Fri, 6 Jan 2017 16:15:43 +0000 (18:15 +0200)
committerMikko Rasa <tdb@tdb.fi>
Fri, 6 Jan 2017 16:15:43 +0000 (18:15 +0200)
commit702de88f837584fd046d787f7199e4560ceda9c4
tree638351bfa94f30584fa0971d198639d4fe686b6f
parent12f65b4a7cd9739d399c685d22862297f325ca91
Use linear filtering for ambient occlusion render target

The blurring step samples it exactly between texels so nearest filtering
may cause artifacts due to floating point math instability.
source/ambientocclusion.cpp