NO

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

Tino

  • 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.

WARNING
  • 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 http://nehe.gamedev.net
  • A GLEW license is included
  • since this demo is a bit old GLEW might be outdated - new versions at http://glew.sourceforge.net/

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

Enjoy :)