Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

can anybody help me to render small texture on another texture. i.e I have one background image, when user touches on the screen it should draw small(circle or any object) on it.

can anybody suggest me good tutorial to starts with it?

share|improve this question

It's called off-screen rendering. In OpenGL you perform normal rendering, but into another render target where you have bound texture which you want render to.

There's wiki documenting it very well, especially this section. It has example for both OpenGL ES1, ES2.

share|improve this answer

You can bind the background as a render target, and then render the circle onto it. And the next time you want to render a circle onto it, you bind it, but don't clear the colorbuffer, just draw the circle again.

share|improve this answer
any link would be appreciated! – Hitendra Oct 31 '12 at 6:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.