Main Menu

How to use FBOs

Started by bbjam, November 21, 2008, 07:23:59

Previous topic - Next topic

bbjam

I am a OpenGL n00b, and I need a render to texture solution for my game engine. :)
It looks like lwjgl has some FBO stuf built in, but the wiki has nothing on the subject, could some expert tell me how to best set up FBOs for my needs.

The afore mentioned needs are: I would like to render the glowy stuff to a buffer, blur it and add it back to the main frame. I would also like to render some normals to a buffer and use them to distort the main frame(glass effects). Maybe there is a better way to do this the FBOs, I would not know.

Thanks!

broumbroum

PBO's are much easier with LWJGL I think, tough I've not really tested it.

bbjam

Cool, thanks. But how do I use PBOs in LWJGL? Do I just look for a opengl PBO tut online, or is there a better, LWJGL specific way to do it?

Thanks, bbjam.

bobjob

You should spend some time going through other Threads.

I only very recently attached an example to this thread
http://lwjgl.org/forum/index.php/topic,2745.0.html