Here is a 3.5M mpg animation showing the problem.
I am rendering the scene using vertex arrays for the polygon, and texture coord arrays for the textures. I have tried non-square lightmaps, and square lightmaps. I have tried mipmapping the lightmaps.
I think for some reason the texture coord array for the lightmaps is getting screwed up. Could the renderer be skipping one of the texture coordinates when a vertex is clipped? I suspect that maybe the renderer is silently adding in an extra vertex to the polygon, but forgetting to add it to the texture coord array... But why does it work correctly with one set of textures?
I only see this occuring with the 3dfx Voodoo3 driver for Win98. It does not occur with the Linux Mesa/Glide driver for the same card, nor with a Voodoo2 under linux. It also does not occur for the TNT card and driver for Win98, nor the GeForce 2.
Has anyone seen a problem like this before?