View Full Version : Texture and a wall !
popom
05-18-2001, 08:35 AM
Hello !
How can i make to apply a texture 16*16 in a big wall in an opengl application ? (i don't what that my texture is scale ...) ???
thanks !
bye
cyril
Don't Disturb
05-18-2001, 11:23 AM
I'm not very good at interpreting your version of English, but if you want to tile your texture:
Make sure that the texture's wrap mode is set to GL_REPEAT.
Use texture coordinates greater than 1 eg. glTexCoord2f(16, 16);
Hope that's what you wanted to know.
popom
05-20-2001, 05:12 AM
Hello !!
I'am sorry for my bad english !
You have interpreted my question very good !!
Thanks !
bye
Originally posted by Don't Disturb:
I'm not very good at interpreting your version of English, but if you want to tile your texture:
Make sure that the texture's wrap mode is set to GL_REPEAT.
Use texture coordinates greater than 1 eg. glTexCoord2f(16, 16);
Hope that's what you wanted to know.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.