PA9 - Lighting


Objective:

  • The purpose of this assignment is to create multiple shaders to do per vertex lighting and per fragment lighting.
Assignment:
  • Building upon PA8, add per-vertex lighting and per-fragment lighting.
    • Make these shader programs swappable on some keystroke.
  • Add a spotlight that can follow the sphere around as the spehere moves.
  • Have the ability to adjust parameters of lighting
    • Ambient brightness
    • Specular brightness of specific objects
    • Spotlight size and brightness.
    • ...


  • Assigned: Week 10
  • Due: Week 11

  • A clone of your GitHub repository will be made at 6:00am on the due date. Don't forget to push your code by that time. This clone will be evaluated and your grade posted.