Bizarre fog bug

Can anyone think of a problem that would cause fog to work normally when triangles are drawn in line mode but have no effect in filled mode? This is driving me up the wall…

Hi,

Maybe you’re using register combiners for some fancy effect and forget to take fog into account in the final combiner stage. RCs override the default fog computation, and I’m not sure whether they affect the lines.

-Ilkka