CPSC310A
Video Game Development

Activity 4

Shader

Details

  1. Download, compile, and run the appropriate example OpenGL program (shader.cc or Shader.java). You will also need the two shader source files (phong.vert and phong.frag).

  2. Modify the program so that it draws a shaded sphere.

Submission

Please show your source code and run your program for the instructor.