GPU Programming Lab 6
Start with the "basic texturing" demo from modern tutorials that we have been working on. Modify the demo so that:
Due Monday, October 22, at 5:00 PM
- The light is a different color than pure white
- The light is further away, but attenuated less so that everything is a bit brighter outside the central spot
- The light moves back and forth. If you want a handy number that shifts a bit without adding an extra uniform, you can use m. Since m is used to rotate and translate only, not scale, this represents a trig function's output, and is thus between 1 and -1. It is matched to the sphere's rotation.