]> git.tdb.fi Git - libs/gl.git/commit
Improve ambient occlusion edge detection
authorMikko Rasa <tdb@tdb.fi>
Sat, 15 Jun 2019 12:18:09 +0000 (15:18 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 15 Jun 2019 12:18:09 +0000 (15:18 +0300)
commit7e67337718b38e23a24172806b23c744f5dc58fe
treec22c063f7ec38919c6e07a2d6c081d93abd6e4a0
parent44b8b5f558dc07eab052994867e5247b73618253
Improve ambient occlusion edge detection

The depth thresholds are now based on the distance of the sample from the
center, which works better in the presence of sloped flat surfaces.
shaderlib/ambientocclusion_combine.glsl