Re enable fog bluring was removed in the previous commit. IMHO without bluring the quality is just awful. The edges looks jagged and it seems we have no AA at all. If this is a performance issue we might need an option for that like: high quality blur. However in my test I didnt noticed a big difference in the framerate. Auria you might want to make better tests

This commit is contained in:
samuncle 2014-11-13 18:46:20 +01:00
parent bd9823dbbe
commit 595785b038

View File

@ -213,10 +213,14 @@ void IrrDriver::renderLightsScatter(unsigned pointlightcount)
glDrawArraysInstanced(GL_TRIANGLE_STRIP, 0, 4, pointlightcount);
// glDisable(GL_BLEND);
// m_post_processing->renderGaussian6Blur(getFBO(FBO_HALF1), getFBO(FBO_HALF2), 5., 5.);
// ***
// That might be a performance issue but if disabled the quality is severly affected (the picture looks jagged)
// It should be an option if there is a gain in FPS
glDisable(GL_BLEND);
m_post_processing->renderGaussian6Blur(getFBO(FBO_HALF1), getFBO(FBO_HALF2), 5., 5.);
glEnable(GL_BLEND);
// ***
// glEnable(GL_BLEND);
getFBO(FBO_COLORS).Bind();
m_post_processing->renderPassThrough(getRenderTargetTexture(RTT_HALF1));
}