killer questions about texture mapping
i made a square.a side is 1.0 f which size of texture should i use?(for ex:64x64,128x128)
second question
can i make a quad which contains 4 same textures tiled on it.
.i mean a quad divided four and each of them has same texture.
thanks and sorry for my bad English.
quote:Cannot be answered. Depends on your scale alone.
i made a square.a side is 1.0 f which size of texture should i use?(for ex:64x64,128x128)
quote:Tile the texture, eg. supply as texture coords: (0, 0) (2.0f, 0) (2.0f, 2.0f), (0, 2.0f). Everything over 1.0f will make the texture wrap-around (repeat itself). You must have set the right texture wrapping mode, GL_TEXTURE_WRAP_S and GL_TEXTURE_WRAP_T must both be set to GL_REPEAT
can i make a quad which contains 4 same textures tiled on it.
.i mean a quad divided four and each of them has same texture
/ Yann
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement