This presentation covers using render to texture in OpenGL.
An html version of this presentation is available here.