View Full Version : Disable "FSAA" temporarily
pango
06-25-2006, 03:12 AM
I create a "FSAA" enabled PBuffer to off-screen rendering,but in some time I need to do my rendering without "FSAA" because it will make rendered image blured,so is it possible to do?What I mean "disable" is that "FSAA" will make no influence to my rendering.
sqrt[-1]
06-25-2006, 07:27 AM
From the ARB multisample spec:
The behavior of multisample rasterization is a function of
MULTISAMPLE_ARB, which is enabled and disabled by calling Enable or
Disable, with <cap> set to MULTISAMPLE_ARB. Its value is queried
using IsEnabled, with <cap> set to MULTISAMPLE_ARB.
so use glDisable(GL_MULTISAMPLE); ?
grisha
06-26-2006, 03:05 AM
If you use glHint(GL_MULTISAMPLE_FILTER_HINT_NV, GL_NICEST) on nVidia you should also set it to GL_FASTEST, or glDisable(GL_MULTISAMPLE) will not disable AA.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.