cgfx_buffer_lighting
---

This Cg example demonstrates use of Cg 3.0 buffers under OpenGL
to manage parameters for materials, transforms, and lights more efficiently
using the new buffer API for CgFX.

Controls:
Arrow Keys : Move current light up/dowm & left/right
1, 2 : Select current light
3, 4 : Change material of spheres
space : Toggle animation
-/+ : Move current light in/out
