ex15: Textures and Lighting

Willem A. (Vlakkies) Schreuder
CSCI4229/5229 Summer 2026


Demonstrates using lighting and textures.


Key bindings
  l          Toggle lighting on/off
  t          Change textures
  m          Toggles texture mode modulate/replace
  a/A        decrease/increase ambient light
  d/D        decrease/increase diffuse light
  s/S        decrease/increase specular light
  e/E        decrease/increase emitted light
  n/N        Decrease/increase shininess
  []         Lower/rise light
  x          Toggle axes
  arrows     Change view angle
  PgDn/PgUp  Zoom in and out
  0          Reset view angle
  ESC        Exit
