opengl 3 framebuffer demo

Started by pobrien, April 11, 2010, 03:38:14

Previous topic - Next topic

pobrien

Are there any plans for tutorials on using framebuffers with opengl 3? Does anyone have an example? Thanks

spasi

Hey pobrien,

You can use http://lwjgl.org/wiki/doku.php/lwjgl/tutorials/opengl/basicfbo as a base. The conversion from EXT_fbo is very simple, just replace EXTFramebufferObject. with GL30. and use the corresponding methods and tokens from GL30 (that basically means removing the EXT postfixes). Any FBO tutorial/example that you may find on the internet should be good enough to get you started too, converting C code should be straightforward, especially with static imports.