
74 II Lighting
by type maximizes the likelihood that all threads are in alignment execution
path-wise. In our case sphere/capsule is one type/execution path, cone/wedge is
a type, and box is the final type.
Next, in Step 1(c) we find the screen-space AABB for each light in the visible
set. As input each light source is represented by an oriented bounding box (OBB)
with a nonuniform scale at the top four vertices, which allows us to represent
narrow spot lights and wedges better. To determine the AABB for the light, we
find the point set to the intersection volume between the camera frustum and the
convex bounding volume. This is done by frustum clipping ...