LWJGL
May 22, 2013, 21:41:40 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

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



Pages: [1]
  Print  
Author Topic: LWJGL + GLSL = Fun  (Read 2783 times)
Funkapotamus
Newbie
*
Posts: 25


« on: June 11, 2005, 23:53:38 »

A long long time ago Funkapotamus decided to start messing with shaders.  He had fun, however, his options were limited.  He was unable to do anything "really badass" since he didn't know very much about shaders.  And so, one day when Funkapotamus was messing around with things, he created this nifty effect:

http://i15.photobucket.com/albums/a363/Funkapotamus/zerobehindglass.jpg  

Funkapotamus liked this effect, however, it involved just two textures.  "If only the whole screen were a texture!", he thought.  And so, Funkapotamus soon learned of Pbuffers and the wonderful glCopyTexture2D command.  The result made him glad.

Ladies and Gentlemen.  I give you Pbuffers + Shader:

http://i15.photobucket.com/albums/a363/Funkapotamus/frame2.jpg
http://i15.photobucket.com/albums/a363/Funkapotamus/frame3.jpg
http://i15.photobucket.com/albums/a363/Funkapotamus/frame4.jpg
http://i15.photobucket.com/albums/a363/Funkapotamus/frame5.jpg

The effect is animated by the way- the ring grows.

Mwahhahaha!

(I'm using a desktop background .gif as the backdrop scenery.  Hence the watermark at the bottom.)
Logged
spasi
Nerdus Imperius
*****
Posts: 752



WWW
« Reply #1 on: June 12, 2005, 03:41:40 »

Quote from: "Funkapotamus"
And so, Funkapotamus soon learned of Pbuffers and the wonderful glCopyTexture2D command.  The result made him glad.


And the fun gets even better with GLSL + EXT_fbo. Last week I implemented HDR rendering with bloom, all in less than 300 lines of (Java) code. It's getting so easy to add more and more effects that you can't even resist it! :lol:
Logged
Pages: [1]
  Print  
 
Jump to:  

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