Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to implement cel shading into my opengl game. I have only found a nehe tutorial that uses glaux (old as hell). I'm looking into it, but I wanna avoid the pain of learning how to translate those old glaux functions/variables. Is there any cel shading tutorial out there that uses glut/sdl?

share|improve this question
OpenGL 1.X, OpenGL 2.1 with shaders, OpenGL ES 1.x or OpenGL ES 2.X? – Ellis Dec 18 '10 at 11:12
You missed out GL 3.X. ;) – The Communist Duck Dec 18 '10 at 11:28
I don't need advanced GLSL for this effect! So toon shaders must be compatible with OpenGL 2.1 ;) – Ellis Dec 18 '10 at 14:24
up vote 1 down vote accepted

You should search Toon Shading too.

For english readers, a short tutorial.

For french readers, there is a great tutorial.

share|improve this answer
English link no longer works. – drewish Jan 2 '15 at 6:00

Here's an article explaining all the processes behind it, but not actually giving code.

Or there's the fact you also asked this on SO too, which is wasting everybody's time.

Try the Linux/GLUT or Linux/SDL versions. No glaux.h needed.

The Visual C++ version doesn't seem to actually use anything from glaux.h, it just #incudes it.

Above quote from genpfault.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.