The chapter03/scenesubroutine.cpp file in the example code The Phong reflection model recipe The Diffuse and per-vertex shading with a single point light source recipe