Simple post-processing shader implementation. No UI yet. Does not work together with AA yet. To use shader bad_bloom, for example, set PostProcessingShader under [Enhancements] in gfx_opengl.ini.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3380 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2009-06-08 19:42:25 +00:00
parent fd5a4ee71a
commit 085fa5f526
9 changed files with 190 additions and 1 deletions

View File

@ -81,6 +81,7 @@ Make AA apply instantly during gameplay if possible
#include "XFB.h"
#include "XFBConvert.h"
#include "TextureConverter.h"
#include "PostProcessing.h"
#include "OnScreenDisplay.h"
#include "Setup.h"
@ -353,6 +354,7 @@ void Video_Prepare(void)
VertexShaderManager::Init();
PixelShaderCache::Init();
PixelShaderManager::Init();
PostProcessing::Init();
GL_REPORT_ERRORD();
VertexLoaderManager::Init();
TextureConverter::Init();
@ -362,6 +364,7 @@ void Video_Prepare(void)
void Shutdown(void)
{
Fifo_Shutdown();
PostProcessing::Shutdown();
TextureConverter::Shutdown();
VertexLoaderManager::Shutdown();
VertexShaderCache::Shutdown();