View Full Version : texture coordinates?
How can you make a texture move from left to right? I can only move texture from top to bottom, or bottom to up.
I use 4 glTexCoord2f() calls, but I can't seem to get it to move texture from right to left!
Anyone explain why please?
02-28-2001, 03:56 AM
You can use glTranslate with the texture matrix mode, without changing glTexCoord.
I don't understand what you mean. How can you move just the texture (not the object) by using glTranslate?
How do I get access to texture matrix??
This should do it.
glTranslatef(x, y, z);
thanks! I will try now. Is there any performance loss with this ??
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.