]> git.tdb.fi Git - libs/demoscene.git/commit
Add a vignette postprocessor
authorMikko Rasa <tdb@tdb.fi>
Fri, 14 Jun 2019 20:25:52 +0000 (23:25 +0300)
committerMikko Rasa <tdb@tdb.fi>
Fri, 14 Jun 2019 21:21:22 +0000 (00:21 +0300)
commit1e3954a988c6d6d946260019f25a4ad3262e01c4
treeb604b898754bc922ea3a64ca9b77730e0b2ff6bd
parentb8e89ca72ec17461c6d91bf107a7e4b08cf9eff1
Add a vignette postprocessor

All real cameras have some amount of vignetting, so adding some to the
rendered scene makes it feel more real.
data/vignette.glsl [new file with mode: 0644]
source/launcher.cpp
source/vignette.cpp [new file with mode: 0644]
source/vignette.h [new file with mode: 0644]