Square Texture over a Circle
I am developing an application using "Opengl ES 2.0"
I am trying to texture mapping a square image over a Circular Object. (for eg. Clock-Dial image on a circle)
It is like mapping only a particular circular region of the image to the object. so that the texture won't get distorted.
Please let me know how can I do this mapping ?
Re: Square Texture over a Circle
You should look into GLSL or the shaders from some existing GLES2 tutorials/demos, since you'll need to write shaders to do this in gles2.
The imagination SDK has some good tutorials/demos: