GLSL Tutorials

GLSL is the OpenGL Shader Language, and does for OpenGL what HLSL does for DirectX. GLSL allows for you to keep control of the screen on a per texel basis allowing for per pixel lighting effects, volumetric fog, high dynamic range rendering, reflections, refractions, blending, blurring, you name it, you can do it. Now GLSL does not just cover the graphical side, it also covers the object side. You can manipulate vertices on a per vertex basis using shaders. Along with GLSL, OpenGL can also use CG which is Nvidia's shading language. Personally I prefer GLSL because it uses similar syntax to OpenGL and hence making it easier to learn.

 

Setting Up

Setting Up - Learn to setup your program for GLSL support.

Setting Up
Color - Lets get some basic coloring happening.
Setting Up
Basic Lighting - How about some per vertex lighting? Sound good?
Setting Up
Advanced Lighting - Per pixel lighting, materials, lighting types
Setting Up
Texturing - Lets get some textures on our object, Yesh?

 

     

 

Copyright 2008, Donald Urquhart
Proudly supported by http://www.cdadc.com