disable MSAA for the picking
MSAA can and will result in mixed colors which is a problem if we use the color for the selection. Change-Id: Ifbd6d37902069b26e714d2e3e5576fb767f9fbbf
This commit is contained in:
committed by
Markus Mohrhard
parent
a630c368f7
commit
5419a2a863
@@ -1651,10 +1651,12 @@ void OpenGL3DRenderer::SetPickingMode(bool bPickingMode)
|
||||
if(mbPickingMode)
|
||||
{
|
||||
glBindFramebuffer(GL_FRAMEBUFFER, mnPickingFbo);
|
||||
glDisable(GL_MULTISAMPLE);
|
||||
}
|
||||
else
|
||||
{
|
||||
glBindFramebuffer(GL_FRAMEBUFFER, 0);
|
||||
glEnable(GL_MULTISAMPLE);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user