Suppose I have a polygon ( a lengthy rectangle ) made up of several triangles using GL_TRIANGLE_STRIP.

Now imagine I have a square texture that should be mapped against each of the small square that make up the rectangle. How do I accomplish this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to repeat your texture along the geometry. For this, you need to setup your texture’s
GL_TEXTURE_WRAP_StoGL_REPEAT.Then you can assign texture coordinates for your vertices :