LWJGL
May 21, 2013, 07:37:27 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL is now using GitHub
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: Frustrating problem with shader-based code.  (Read 460 times)
the_hoser
Newbie
*
Posts: 1


« on: January 30, 2012, 23:26:24 »

I'm trying to get my feet wet with LWJGL (and modern opengl at the same time) using the tutorials at:

http://duriansoftware.com/joe/An-intro-to-modern-OpenGL.-Table-of-Contents.html

I'm currently working on chapter 2.  Instead of rendering the interposing images fading back and forth, I just get a black screen.  I've combed over the code and I can't figure out where I'm going wrong.

I normally don't post on forums asking for help, but this is driving me a little bit batty.  I've refactored the code into a single file and pasted it at:

http://pastebin.com/pEdErRMY

The images can be found at:

http://duriansoftware.com/joe/media/gl2-hello-1.png
http://duriansoftware.com/joe/media/gl2-hello-2.png

Thank you for your time.
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!