Author Topic: GLSL - OpenGL Shading Language Example (VERY DIRTY)  (Read 2077 times)


  • Guest
GLSL - OpenGL Shading Language Example (VERY DIRTY)
« on: February 05, 2013, 06:03:40 am »
Hello Forum  :)

I found this demo i wrote a bit ago,
based on NEHE s Tutorial and GLEW.

The project merges Shader sourcecode, Textures and the basic GL stuff in a Pelles C Project,
so that textures and shader s C sourcecode can be edited comfortable.

There are also some nice macro s for debugging shader s and gl.

  • This code is really dirty - sorry ><
  • If you get a MessageBox that "xxx shaders" are missing then you need a better graphiccard or driver
  • The basic open GL stuff is based on
  • A GLEW license is included
  • since this demo is a bit old GLEW might be outdated - new versions at

The attached shader s perform multitexturing,
some simplier shaders are in the /shader folder.

Enjoy :)