Doc:Glossary/Spotlight

提供: wiki
移動先: 案内検索


Spotlight

Is a light with both location and direction. A spotlight sends out a cone of light defined by the spotlight angle, and illuminates only objects within that cone. Spotlights also have attenuation, as well as a parameter that controls whether the spot of light is sharply defined or has smooth edges. These 4 types of lights are listed in order of computational complexity; the more lights you have, the more work the computer has to do. Generally it's a good idea to use directional lights whenever possible, since they're the cheapest, and use pointlights and spotlights sparingly.