LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: Numknuf on August 27, 2003, 21:08:17

Title: OpenGL SL
Post by: Numknuf on August 27, 2003, 21:08:17
Does OpenGL automatically support the OpenGL Shading Language if your drivers support it? If not, what has to be done to get lwjgl to support this?
Title: OpenGL SL
Post by: Matzon on August 28, 2003, 04:57:07
We need to get access to the new headers, and a card that can use it. As soon as this happens, we'll post some binaries...
Title: OpenGL SL
Post by: Numknuf on August 28, 2003, 09:27:16
Can I use nVidia's Cg language with lwjgl ?
Title: OpenGL SL
Post by: Matzon on August 28, 2003, 09:36:57
Quote from: "Numknuf"Can I use nVidia's Cg language with lwjgl ?
yes - the Grass example does this.
Grass Example (http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/test/opengl/Grass.java?rev=1.21&content-type=text/vnd.viewcvs-markup)
Title: OpenGL SL
Post by: Numknuf on August 28, 2003, 10:11:43
Cool!

thanks
Title: OpenGL SL
Post by: elias on August 28, 2003, 10:52:35
It depends. You can use the (NV|ARB)_*_program extendsions, but not the Cg runtime directly.

- elias