The cone attenuation table is defined as a lookup table of cosine values of the angle between the light vector and the spot-direction vector. Cosine values 0.0 - 1.0 are mapped to 0 - 255, so the key range becomes a table of values 0 - 255.
<NintendoWareIntermediateFile> |
CONFIDENTIAL