CPSC362A
Video Game Development

Activity 13

Lighting Textures

Create an OpengGL program that uses textures and lighting.

Details

  1. The program should draw a checkered sphere, centered in the window.

  2. The program should use materials to give the sphere ambient and diffuse shading.

Example