Original Post
I know how to calculate texture coordinates and lightmaps for quads (using the 2 edge vectors). But know I need to calculate them for n-sided polygons. All I need to know is the two vectors describing the smallest rectangle that contains the poly.
Any suggestions?