Hello Guest

opengl 3 framebuffer demo

  • 1 Replies
opengl 3 framebuffer demo
« on: April 11, 2010, 03:38:14 »
Are there any plans for tutorials on using framebuffers with opengl 3? Does anyone have an example? Thanks


Offline spasi

  • *****
  • 2228
    • WebHotelier
Re: opengl 3 framebuffer demo
« Reply #1 on: April 11, 2010, 14:06:45 »
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.