Render to a texture

Started by facultyofmusic, September 17, 2010, 21:43:05

Previous topic - Next topic

facultyofmusic

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.

Matthias

Take a look at FBO (Frame Buffer Objects). This is the preferred way to do RTT (Render To Texture).