View Full Version : Transform UV's
Raeldor
07-15-2005, 08:51 AM
Hi,
Does OpenGL have the ability to set a transformation matrix for UV's like DirectX?
Thanks
Aeluned
07-15-2005, 08:56 AM
Are you referring to texture coordinates?
if so you can use the texture matrix.
glMatrixMode(GL_TEXTURE);
glTranslate,rotate,whatever;
glMatrixMode(GL_MODELVIEW);
Raeldor
07-15-2005, 09:13 AM
Originally posted by Aeluned:
Are you referring to texture coordinates?
if so you can use the texture matrix.
glMatrixMode(GL_TEXTURE);
glTranslate,rotate,whatever;
glMatrixMode(GL_MODELVIEW);Ah, perfect... thank you!
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.