Next | Prev | Up | Top | Contents | Index

Using Fast Drawing Modes

Use flat shading whenever possible. This reduces the number of lighting computations from one per vertex to one per primitive, and also reduces the amount of data that must be passed from the CPU through the graphics pipeline for each primitive. This is particularly important for high-performance line drawing.


Next | Prev | Up | Top | Contents | Index