cgicgi
05-28-2010, 01:58 AM
Hi,
I am using GL_LINE_SMOOTH to antialias lines and have following use cases:
- rendering to an offscreen frame buffer object with a regular color attachment (GL_RGBA)
- rendering to an offscreen frame buffer object with a floating point color attachment (GL_RGBA16F or GL_RGBA32F)
In the first case, line antialiasing works as expected. In the latter case, line antialiasing does not work. (Note that I am not using ARB_multisample).
Anyone knows whether there is a reason for line smoothing to only work when rendering to non-floating point color textures?
I am testing on an Nvidia GTX280, both on linux and windows using the latest Nvidia drivers.
Thanks!
I am using GL_LINE_SMOOTH to antialias lines and have following use cases:
- rendering to an offscreen frame buffer object with a regular color attachment (GL_RGBA)
- rendering to an offscreen frame buffer object with a floating point color attachment (GL_RGBA16F or GL_RGBA32F)
In the first case, line antialiasing works as expected. In the latter case, line antialiasing does not work. (Note that I am not using ARB_multisample).
Anyone knows whether there is a reason for line smoothing to only work when rendering to non-floating point color textures?
I am testing on an Nvidia GTX280, both on linux and windows using the latest Nvidia drivers.
Thanks!