id Software has released the source code of Doom 3 under GPL license. You can download it from this page: Doom 3 GPL source release @ github.
This source code should contain the new version of stencil shadow volumes algorithm rewritten by John Carmack due to some legal issues:
Lawyers are still skittish about the patent issue around “Carmack’s reverse”, so I am going to write some new code for the doom3 release.
An example of stencil shadow volumes (GeeXLab)
Christmas came early this year!
I have created a fork:
https://github.com/ljbade/doom3.gpl
I plan to improve the Windows version of Doom 3.
Might look at updating everything to GL 2 or 3. Perhaps 4 with tessellated walls…
First thing I am working on is enabling precompiled headers and incremental linking to speed up compile times.
Leith, let us know as soon as you get something!
Doom 3 with GL 4 tessy walls could be fun.