When I rotate my texture in a rectangular viewport, for most of the time (0 degrees and 180 degrees) the texture map deforms to fit the viewport. I think I know why this is happening - I’ve even tried my own simple attempts to adjust the texture coordinates using some trig, and nothing I’ve tried has fixed it - usually it just makes it look worse.
Is there an example, an algorithm, or a straight forward explanation of how to do this?
Thanks in advance