Finally: GLSL support
Sven Panne <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.hopengl |
|---|---|
| Message-ID | <[email protected]> |
FYI: The OpenGL package has now partial support for GLSL. The API is not yet completely stable and support for generic vertex attribute arrays and querying vertex attributes and uniform variables is still missing (setting is of course already implemented). This is enough to run the "Hello, world!" of shader programming, the brick example from the Orange Book, see the attached pictures and the code at: http://darcs.haskell.org/packages/GLUT/examples/OrangeBook/ogl2brick/ If you want to test the new features, grab the latest packages via darcs: darcs get http://darcs.haskell.org/packages/OpenGL darcs get http://darcs.haskell.org/packages/GLUT Comments and suggestions are, as always, highly welcome. Cheers, S. _______________________________________________ HOpenGL mailing list [email protected] http://www.haskell.org/mailman/listinfo/hopengl
Brick1_small.png
(image/png, 29.1 KB) - not displayed
Brick2_small.png
(image/png, 57.2 KB) - not displayed