Lighting

Wednesday | Friday
 
Read Chapter 6. You can skip section 6.6
[~]$ cd ~/cs40/examples/
[examples]$ \cp ~adanner/public/cs40/examples/common/* common/
[examples]$ \cp -r ~adanner/public/cs40/examples/w06-lighting ./
Edit examples/CMakeLists.txt to add the w06-lighting subdirectory.
[~]$ cd ~/cs40/examples/
[examples]$ \cp -r ~adanner/public/cs40/examples/w06-bump ./
Edit examples/CMakeLists.txt to add the w06-bump subdirectory.

Compile and run nmap. Toggle shader. Modify fshader2.glsl to try these features