CS 455 Lecture 13 – Spotlight and Beyond Color Textures
Before Class
Spotlight
- Watch http://youtu.be/s7NbEbNJo28.
- Watch http://youtu.be/AA-HzRc3vyI.
- Watch http://youtu.be/4zAk0F0-4QA.
- Read chapter 3, section Simulating a Spotlight, pages 94-97.
Beyond Color Textures
- Watch http://youtu.be/U7RdV4X_Ml4.
- Watch http://youtu.be/W3vkBV-NgL8.
- Watch http://youtu.be/K76qRuyPUiI.
- Watch http://youtu.be/C3hVk47G5V4.
- Read chapter 4, sections Applying Multiple Textures and Using Alpha Maps, pages 111-116.
In Class
- Write a renderer that casts a spotlight on a scene, but instead of illuminating the objects, it pulls the objects albedo out of a 1-D texture, which is indexed by the dot product of the light direction and negated spot direction. A couple of 1-D textures are in W455.