Added multisample support to FGLRenderBuffers and added gl_multisample to the menus
This commit is contained in:
parent
c0b86278e3
commit
cfc20d1198
7 changed files with 223 additions and 37 deletions
|
|
@ -188,7 +188,7 @@ void FGLRenderer::BloomScene()
|
|||
mBlurShader->BlurVertical(mVBO, blurAmount, sampleCount, level0.HTexture, level0.VFramebuffer, level0.Width, level0.Height);
|
||||
|
||||
// Add bloom back to scene texture:
|
||||
mBuffers->BindSceneFB();
|
||||
mBuffers->BindSceneTextureFB();
|
||||
glViewport(0, 0, mOutputViewport.width, mOutputViewport.height);
|
||||
glEnable(GL_BLEND);
|
||||
glBlendEquation(GL_FUNC_ADD);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue