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?


  • \$\begingroup\$ OpenGL 1.X, OpenGL 2.1 with shaders, OpenGL ES 1.x or OpenGL ES 2.X? \$\endgroup\$
    – Ellis
    Dec 18 '10 at 11:12
  • \$\begingroup\$ You missed out GL 3.X. ;) \$\endgroup\$ Dec 18 '10 at 11:28
  • \$\begingroup\$ I don't need advanced GLSL for this effect! So toon shaders must be compatible with OpenGL 2.1 ;) \$\endgroup\$
    – Ellis
    Dec 18 '10 at 14:24

You should search Toon Shading too.

For english readers, a short tutorial.

For french readers, there is a great tutorial.

  • 4
    \$\begingroup\$ English link no longer works. \$\endgroup\$
    – 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.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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