I'm doing 3d attenuation with one 2d texture, but for some reason it doesn't quite work :\
Could someone please take a look at these programs and tell me if I'm doing something wrong (ARB_vertex/fragment_program):
http://www.datranet.net/timo_heubach...ntprogram2.txt and http://www.datranet.net/timo_heubach...exprogram2.txt
Cheers!



I thought it was a bit nonintuitive at first, but I guess not.
