I know it’s possible to clamp_to_border_color with an nVidia extension. But what about on ATI? Is there an equivalent?
I want to use this with shadow maps. When the texture coordinate generated is outside the 0,1 range, I want to be able to control the color. clamp_to_border works beautifully.
A friend was having some problems with texture performance for which our leading theory was border clamping. Rendering was about the performance you would expect if it was falling back to emulation.