LWJGL
May 22, 2012, 14:41:45 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.8.3 released!
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: opengl 3 framebuffer demo  (Read 1548 times)
pobrien
Newbie
*
Posts: 8


« on: April 10, 2010, 20:38:14 »

Are there any plans for tutorials on using framebuffers with opengl 3? Does anyone have an example? Thanks
Logged
spasi
Nerdus Imperius
*****
Posts: 643



WWW
« Reply #1 on: April 11, 2010, 07: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.
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!