Sorry for a really noob-level question...
I want to apply a specific piece of the texture (not the entire texture) to a quad. The texture is a 256x64 image and I'd like to be able to specify the relevant piece by stating the pixel coordinates of its upper-left and bottom-right corners ( [0,0] being the upper left corner of the whole image and [256,64] being the bottom right).
Any ideas on how to do that?
Thanks.