3 This file is part of libmspgl
4 Copyright © 2008 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #ifndef MSP_GL_LIGHTING_H_
9 #define MSP_GL_LIGHTING_H_
22 Encapsulates global lighting parameters and a number of individual lights.
24 class Lighting: public Bindable<Lighting>
28 std::vector<const Light *> lights;
33 void set_ambient(const Color &);
34 const Color &get_ambient() const { return ambient; }
36 void attach(unsigned, const Light &);
37 void detach(unsigned);