As topic title suggests i have a texture loaded with flags 16+32 to clamp U an V and i need to rotate it in game.
So you can understand i have a cube with mutitexture (texture A and texture B). that cube can be rotated (axis Y) every 90º.
Texture A rotates with the cube mesh, but texture B must keep his global orientation.
Since i have both textures clamped, when i rotate texture B it turns all to black.
I understand why this happens, but anyone here have some suggestion so i can create same effect with a different method?
The only solution i think of right now is to have 4 versions of that texture, each one with different rotations (0º, 90º, 180º and 270º)...
|