Anti-Aliasing and blending

Hi,

I render some lines with GL_LINE_SMOOTH enabled, and it works great. I’m aware that I need to enable GL_BLEND to get it to work, but what about if I have a glsl-shader which does the blending? Basically I render stuff in different layers and then perform the blending on my own (ordinary f2b blending) into fbo-textures. It seems that the anti-aliasing doesn’t work when blending on your own. Is that a correct assumption, or could I be doing something wrong? The blending works correctly on my polygons, so there’s nothing wrong there.

Solved it on my own. Rendering the lines in a separate pass, does not give me 100% correct results, but what the heck… it’s only lines :wink:

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.