Tzupy
03-14-2010, 11:53 AM
After extensive testing of my off-screen high quality antialiased rendering, I discovered that if the destination renderbuffer is 4x by 4x smaller than the source renderbuffer (for a 16x downsample), then BlitFramebuffer drops the GL_LINEAR filtering and probably uses GL_NEAREST.
I am sure about this because I checked the number of shades in the destination image, and it didn't match my expectations.
If the destination renderbuffer is only 2x by 2x smaller than the source renderbuffer, GL_LINEAR is working OK.
So to get the 4x by 4x I want I had to add another intermediary renderbuffer and perform two times 2x by 2x downsampling.
This way I was able to achieve downsampling 2x * 2x * 2x * 2x * 8x MSAA = 128x total AA, which looks quite smooth. ;)
This happens on Radeon 4850, Vista_x64 HP, drivers 10.2. I read the GL 3.1 specification, but I couldn't find anything about dropping the filter setting.
Please comment on this: the behaviour of BlitFramebuffer is normal, or is it a driver bug?
I am sure about this because I checked the number of shades in the destination image, and it didn't match my expectations.
If the destination renderbuffer is only 2x by 2x smaller than the source renderbuffer, GL_LINEAR is working OK.
So to get the 4x by 4x I want I had to add another intermediary renderbuffer and perform two times 2x by 2x downsampling.
This way I was able to achieve downsampling 2x * 2x * 2x * 2x * 8x MSAA = 128x total AA, which looks quite smooth. ;)
This happens on Radeon 4850, Vista_x64 HP, drivers 10.2. I read the GL 3.1 specification, but I couldn't find anything about dropping the filter setting.
Please comment on this: the behaviour of BlitFramebuffer is normal, or is it a driver bug?