Remove extra blurring step in fog

This commit is contained in:
Vincent Lejeune 2014-11-13 18:02:55 +01:00
parent 22b6aaea25
commit a6946e9b98

View File

@ -213,10 +213,10 @@ 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.);
// 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));
}