edge coloring

Funny problem here.

If I’m running on my mac nvidia card ( with no shaders on ), with multisample off and I draw a transparent model, then the edges of the triangles come out different shade of similar color. I see triangles. If I turn multisample on, then no edges are drawn with a different color.

Now, if I run on my ati card, no edges are drawn with a different color. Having multisample on or off does not appear to matter.

I tried to do something like:


But this does not seem to change anything.

Hmm… :rolleyes:

Try this :

Hmm, I already have GL_CLAMP_TO_EDGE and glPixelStorei(GL_UNPACK_ALIGNMENT,1). In fact, if I change those two things then some solid colored parts of the model get edges – edges of the model lined up to other things. So, they are solving part of the problem. Probably ran across this issue in the past.

Here is a clue. I blend those polygons that have transparent colors. But if I change the color such that there is no transparency then the triangle edge colors disappear. Unfortunately, I need the transparency and it looks like blue graph paper with white lines on it. :frowning:


Not to do a monologue but I think this is the culprit:


Your right it is something to do with filtering.