2Dlights.avi - 2D dynamic lighting - A 2D dynamic lighting demo written in 2003.



The system is demonstrated by a box figure, who walks by rotating his feet with rotation matrices. The lighting was created by rendering a soft sphere onto the alpha buffer. The shadow volumes were then calculated by finding the outside edges and back faces to convex objects. A polygon is then rendered from those edges to ones formed by scaling out the lines from the light source.



This was a fun experiment of mine which I learned through doing matrix and vector math for the first time.



Joe Coady - Showreel - 2D Lights (2003)