GL_CLAMP not working correctly

Im trying to do projected shadows for the first time, and I hear you need to use GL_CLAMP to keep the projected shadow from repeating. At first it seemed to be working…

Near the beginning of the spotlight frustrum there are these annoying bands that look real ugly. I can’t really explain it much better than that. I have a Voodoo3, so that might explain this.

Any ideas?

Oop, I just fixed it. You must use GL_LINEAR instead of GL_LINEAR_MIPMAP_LINEAR. I figured it out because those bands must have been the mipmap comming in.