class Light;
/**
-Encapsulates global lighting parameters and any number of individual light
-sources.
+Combines multiple light sources with global lighting parameters.
+
+This class also stores ProgramData for using the lights in shaders.
*/
class Lighting
{
public:
Lighting();
- /** Sets the ambient lighting color. Affects all surfaces in the scene. */
+ /** Sets the ambient lighting color. Affects all surfaces in an equal
+ amount. */
void set_ambient(const Color &);
const Color &get_ambient() const { return ambient; }