Interactive Lighting Demos

Explore fundamental computer graphics shading models through interactive WebGL visualizations.

Lambertian Shading

A deep dive into the Lambertian local illumination model. This demo visualizes the math behind diffuse reflection in real-time, complete with adjustable falloff, light intensity, and vector visualizations.

Interactive Math & Vectors

Blinn-Phong Model

An interactive scene demonstrating the classic Blinn-Phong shading model on complex geometry (stacked cups). Experiment with ambient, diffuse, and specular components to understand how they contribute to the final appearance of 3D objects.

Compositional Shading