Fix light shaft
This commit is contained in:
parent
d0afcce32d
commit
1d40851600
@ -705,7 +705,7 @@ void PostProcessing::render()
|
|||||||
// Fade to quarter
|
// Fade to quarter
|
||||||
glBindFramebuffer(GL_FRAMEBUFFER, irr_driver->getFBO(FBO_QUARTER1));
|
glBindFramebuffer(GL_FRAMEBUFFER, irr_driver->getFBO(FBO_QUARTER1));
|
||||||
glViewport(0, 0, UserConfigParams::m_width / 4, UserConfigParams::m_height / 4);
|
glViewport(0, 0, UserConfigParams::m_width / 4, UserConfigParams::m_height / 4);
|
||||||
renderGodFade(irr_driver->getRenderTargetTexture(RTT_TMP2), col);
|
renderGodFade(out_rtt, col);
|
||||||
|
|
||||||
// Blur
|
// Blur
|
||||||
renderGaussian3Blur(irr_driver->getFBO(FBO_QUARTER1), irr_driver->getRenderTargetTexture(RTT_QUARTER1),
|
renderGaussian3Blur(irr_driver->getFBO(FBO_QUARTER1), irr_driver->getRenderTargetTexture(RTT_QUARTER1),
|
||||||
|
Loading…
Reference in New Issue
Block a user