LWJGL Forum

Programming => OpenGL => Topic started by: facultyofmusic on September 17, 2010, 21:43:05

Title: Render to a texture
Post by: facultyofmusic on September 17, 2010, 21:43:05
How would you render to a texture in LWJGL (or OpenGL for that matter)?   Because there's no graphics commands like there are for Java Images...  Would it be possible for someone to give me a few good sites to look on?  I have searched for a while, but they are either only webstart demos or non-java codes.  If I could get an example that uses LWJGL that would be terrific.

Thanks in advance.
Title: Re: Render to a texture
Post by: Matthias on September 17, 2010, 22:27:46
Take a look at FBO (Frame Buffer Objects). This is the preferred way to do RTT (Render To Texture).