Red book shadowmap.c program

I can’t find in the WEB the source code of ‘shadowmap.c’ (part of OpenGL 1.4 red book examples). Only few line of codes appear in the chapter about textures in PDF format.
Would appreciate if someone gives me a pointer to the source code :wink:

Many thanks,


Download the glut source code at

It’s in the zip file at ./progs/advanced/shadowmap.c



Thanks a lot, Nico