Added FXAA post-processing

Implementation of Fast Approximate Anti-Aliasing is based on nVidia sample:
https://github.com/NVIDIAGameWorks/GraphicsSamples/tree/master/samples/es3-kepler/FXAA
This commit is contained in:
alexey.lysiuk 2016-09-25 12:25:01 +03:00 committed by Christoph Oelckers
commit c68aa2b241
11 changed files with 897 additions and 1 deletions

View file

@ -832,6 +832,7 @@ sector_t * FGLRenderer::RenderViewpoint (AActor * camera, GL_IRECT * bounds, flo
TonemapScene();
ColormapScene();
LensDistortScene();
ApplyFXAA();
// This should be done after postprocessing, not before.
mBuffers->BindCurrentFB();