As a fairly modern example, let me suggest "Physically Based Rendering" by Pharr and Humphreys [1]. It is a complete (and fairly large) book in the LP style. There are couple of sample chapters available online that you can view [2][3]. To me, one of the real advantages is that you can present the code and commentary in a logical structure that goes in an orderly progression of concepts for human understanding rather than the more strictly physical structure that a compiler expects.
[1] http://www.pbrt.org/
[2] http://www.pbrt.org/chapters/pbrt_chapter7.pdf
[3] http://www.pbrt.org/chapters/pbrt-2ed-chap4.pdf