mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-07 06:41:38 +00:00
Enable radial blur post processing effect for spirit form.
Code for this existed, but it was wrong and never enabled. This replaces most of the code, and makes it work on widescreen.
This commit is contained in:
parent
0ff37defc1
commit
7039f1d2cc
5 changed files with 87 additions and 171 deletions
|
@ -3947,6 +3947,15 @@ void Core::render(int startLayer, int endLayer, bool useFrameBufferIfAvail)
|
|||
afterEffectManager->render();
|
||||
}
|
||||
|
||||
if (i == postProcessingFx.layer)
|
||||
{
|
||||
postProcessingFx.preRender();
|
||||
}
|
||||
if (i == postProcessingFx.renderLayer)
|
||||
{
|
||||
postProcessingFx.render();
|
||||
}
|
||||
|
||||
if (darkLayer.isUsed() )
|
||||
{
|
||||
/*
|
||||
|
@ -3966,15 +3975,6 @@ void Core::render(int startLayer, int endLayer, bool useFrameBufferIfAvail)
|
|||
}
|
||||
}
|
||||
|
||||
if (i == postProcessingFx.layer)
|
||||
{
|
||||
postProcessingFx.preRender();
|
||||
}
|
||||
if (i == postProcessingFx.renderLayer)
|
||||
{
|
||||
postProcessingFx.render();
|
||||
}
|
||||
|
||||
RenderObjectLayer *r = &renderObjectLayers[i];
|
||||
RenderObject::rlayer = r;
|
||||
if (r->visible)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue