title: Imitate Polygon Stipple with OpenGL ES on iOS
body: <p>I want to fill a concave polygon with a simple repeating pattern. I can already draw the polygon properly, unfortunately I am having problems with filling it. In OpenGL I could do this easily with POLYGON_STIPPLE. However this functionality is not available in OpenGL ES.</p>
  
  <p>I figured that I probably need to use textures instead of stippling. However I cannot figure out how to calculate the correct texture coordinates as all the triangles are of completely different sizes, but I still want the pattern to fit well right next to each other.</p>
  
  <p>Are there any good starting points that explain how to fill polygons with a repeating texture, where the polygon is a little more complex than one triangle or rectangle?</p>