Tuesday, January 4, 2011

Ray Tracer Part Three: Basic Shading

Once we finish detecting the objects correctly from part two, we can move on to shading. For this part, I have implemented a multi-light system with Phong and Phong-Blinn illumination models.

phong_single_lightphong_multi_lightphong-blinn

From left to right: Single-light with Phong shading, Multi-light with Phong shading, Multi-light with Phong-Blinn shading