2d Filters updated, now you can use custom filter and write your own GLSL shader program to filter rendering result.

This commit is contained in:
Hamed Zaghaghi
2007-11-06 12:16:12 +00:00
parent aa774427f6
commit af169b41fd
23 changed files with 176 additions and 105 deletions

View File

@@ -593,9 +593,9 @@ void GPC_RenderTools::MotionBlur(RAS_IRasterizer* rasterizer)
}
}
void GPC_RenderTools::Update2DFilter(RAS_2DFilterManager::RAS_2DFILTER_MODE filtermode, int pass)
void GPC_RenderTools::Update2DFilter(RAS_2DFilterManager::RAS_2DFILTER_MODE filtermode, int pass, STR_String& text)
{
m_filtermanager.EnableFilter(filtermode, pass);
m_filtermanager.EnableFilter(filtermode, pass, text);
}
void GPC_RenderTools::Render2DFilters(RAS_ICanvas* canvas)