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– Ellis2010-12-18 11:12:17 +00:00Commented Dec 18, 2010 at 11:12
- \$\begingroup\$ You missed out GL 3.X. ;) \$\endgroup\$PrettyPrincessKitty FS– PrettyPrincessKitty FS2010-12-18 11:28:42 +00:00Commented Dec 18, 2010 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– Ellis2010-12-18 14:24:44 +00:00Commented Dec 18, 2010 at 14:24
2 Answers
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– drewish2015-01-02 06:00:01 +00:00Commented Jan 2, 2015 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.