next up previous contents
Next: Advanced Geometry-Limited Tuning Techniques Up: 16.3 Tuning the Geometry Previous: 16.3.2 Optimizing Transformations

16.3.3 Optimizing Lighting Performance

OpenGL offers a large selection of lighting features. The penalties some features carry may vary depending on the hardware you're running on. Be prepared to experiment with the lighting configuration.

As a general rule, use the simplest possible lighting model: a single infinite light with an infinite viewer. For some local effects, try replacing local lights with infinite lights and a local viewer.

Use the following settings for peak performance lighting:

In addition, follow these guidelines to achieve peak lighting performance:


next up previous contents
Next: Advanced Geometry-Limited Tuning Techniques Up: 16.3 Tuning the Geometry Previous: 16.3.2 Optimizing Transformations

David Blythe
Thu Jul 17 21:24:28 PDT 1997