I’m using the following code to rotate a texture before I draw it on a polygon:
glRotatef(angle, 0.0f, 1.0f, 0.0f);
The texture is repeated several times over the polygon.
The problem I have is that the texture is distorted around certain angles - specifically 0 and 180 degrees. It looks like it is ‘smeared’ along one axis.
Anybody know what I could be doing wrong?
Thanks for any help.