View Full Version : getting started with shader programming

Babblin Joe
01-19-2007, 06:16 AM
Hi everyone. I'd like to get started on learning how to program various shaders. I was wondering if anyone could recommend some good books or websites to get started with.

Books besides the orange book of course.


01-19-2007, 08:23 AM
May be this (http://www.flashbang.se/index.php?id=20) one stop crash course in glsl that i wrote will do, it's not that in depth, but it will give you a basic framework to work on.

Then there is clockworkcoders (http://www.clockworkcoders.com/oglsl/) .
It's where i learned glsl.

01-19-2007, 12:54 PM
I found http://www.lighthouse3d.com/opengl/glsl/ to be very helpful in getting started.

01-19-2007, 11:13 PM
Nice tutorial zeoverlord.

Tried to run the pixel shader example.


Error: 0:19: 'max' no matching overloaded function found.
Error: 1: Compilation errors. No code generated.

Ran. But the tank colored green.

Tried to edit the code. Failed to compiled in vc8. Changed some header..

#include <fstream>


using namespace std;

Thank you.

01-20-2007, 02:28 AM
Yea i know, it's coded for vc6, and vc8 doesn't like that, i will probably fix that when the new NeHe lessons are out.