View Full Version : drawing into 2D texture

oren miron
01-06-2009, 01:02 AM
i would like to draw into a 2D texture, that is used for texture mapping.
are there any tools to draw simple 2D shapes into a texture?
can i set additional opengl to render into my texture instead of the output buffer?
thanks, oren.

01-06-2009, 05:02 AM
Use the framebuffer object extension.

01-06-2009, 05:14 AM
And a nice tutorial to start with rendering to texture with the help of fbo:

oren miron
01-07-2009, 12:02 AM
thanks a lot. this is exactly what i need.