Rob #1 Search for transform texture function in code archives. I wrote it so I could scale and rotate a texture from the centre.